Skip to content

Commit bd87560

Browse files
committed
Another fix
1 parent 41ac4d5 commit bd87560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/coderdtest/coderdtest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ func createAnotherUserRetry(t *testing.T, client *codersdk.Client, organizationI
581581
other.HTTPClient.CloseIdleConnections()
582582
})
583583

584-
if user.Status == codersdk.UserStatusDormant {
584+
if !req.DisableLogin && user.Status == codersdk.UserStatusDormant {
585585
// Refresh user account which should be active now.
586586
user, err = other.User(context.Background(), user.Username)
587587
require.NoError(t, err)

0 commit comments

Comments
 (0)