Skip to content

Commit

Permalink
remove misleading comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mmulholla committed Oct 4, 2023
1 parent edc60bb commit 5e0ab0e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions testsupport/deactivation.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ func DeactivateAndCheckUser(t *testing.T, awaitilities wait.Awaitilities, userSi
assert.Equal(t, "userdeactivated", notification.Spec.Template)
assert.Equal(t, userSignup.Spec.Userid, notification.Spec.Context["UserID"])

// We wait for the "Approved()" condition status here because it doesn't specify a reason for the approval,
// and the reason should not be necessary for the purpose of this test.
userSignup, err = hostAwait.WaitForUserSignup(t, userSignup.Name,
wait.UntilUserSignupHasConditions(wait.ConditionSet(wait.Default(), wait.DeactivatedWithoutPreDeactivation())...),
wait.UntilUserSignupHasStateLabel(toolchainv1alpha1.UserSignupStateLabelValueDeactivated))
Expand Down

0 comments on commit 5e0ab0e

Please sign in to comment.