Skip to content

In tests, where appropriate, use users.username - #14577

Merged
Turbo87 merged 1 commit into
rust-lang:mainfrom
carols10cents:username-in-tests
Sep 3, 2026
Merged

In tests, where appropriate, use users.username#14577
Turbo87 merged 1 commit into
rust-lang:mainfrom
carols10cents:username-in-tests

Conversation

@carols10cents

@carols10cents carols10cents commented Sep 3, 2026

Copy link
Copy Markdown
Member

Instead of users.gh_login.

For now, these fields should always be the same, so there is no change in the test or implementation behavior coverage.

When we fully enable crates.io usernames as being independent of GitHub usernames, these tests should be using the crates.io username.

Extracted from #14575. Might conflict with #14213 a tiny bit.

Instead of `users.gh_login`.

For now, these fields should always be the same, so there is no change
in the test or implementation behavior.

When we fully enable crates.io usernames as being independent of GitHub
usernames, these tests should be using the crates.io username.

@Turbo87 Turbo87 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technically the add/remove owner endpoints still expect their inputs to be GitHub account names, but since the setup in these tests ensures that they are equivalent, I think this is fine :)

View changes since this review

@Turbo87 Turbo87 added the C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear label Sep 3, 2026
@Turbo87
Turbo87 merged commit 99de059 into rust-lang:main Sep 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants