Skip to content

Commit 4d89937

Browse files
committed
chore: creaet unit test to exercise failed email change bug
Changing emails on github fails if another deleted user exists with the same link.
1 parent 7030101 commit 4d89937

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

coderd/userauth_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -605,9 +605,6 @@ func TestUserOAuth2Github(t *testing.T) {
605605
})
606606

607607
// The bug only is exercised when a deleted user with the same linked_id exists.
608-
// Still related open issues:
609-
// - https://github.com/coder/coder/issues/12116
610-
// - https://github.com/coder/coder/issues/12115
611608
t.Run("ChangedEmail", func(t *testing.T) {
612609
t.Parallel()
613610

0 commit comments

Comments
 (0)