Skip to content
Prev Previous commit
Next Next commit
spacing for formatting
  • Loading branch information
Emyrk committed Apr 16, 2025
commit 3b49f6ce19c0a8e11b58c6cd21a4086f4bb6e680
6 changes: 3 additions & 3 deletions coderd/idpsync/organizations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ func TestSyncOrganizations(t *testing.T) {
user := dbgen.User(t, db, database.User{})

// Create orgs for:
// - stays = User is a member, and stays
// - stays = User is a member, and stays
// - leaves = User is a member, and leaves
// - joins = User is not a member, and joins
// For deleted orgs, the user **should not** be a member of afterwards.
// - deletedStays = User is a member of deleted org, and wants to stay
// - deletedStays = User is a member of deleted org, and wants to stay
// - deletedLeaves = User is a member of deleted org, and wants to leave
// - deletedJoins = User is not a member of deleted org, and wants to join
// - deletedJoins = User is not a member of deleted org, and wants to join
stays := dbfake.Organization(t, db).Members(user).Do()
leaves := dbfake.Organization(t, db).Members(user).Do()
joins := dbfake.Organization(t, db).Do()
Expand Down
Loading