Skip to content

Commit ec12c41

Browse files
committed
fixup test
1 parent b316b9c commit ec12c41

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

coderd/idpsync/group_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,12 @@ func TestGroupSyncTable(t *testing.T) {
209209
},
210210
},
211211
{
212-
Name: "NoSettingsNoUser",
212+
Name: "NoSettings",
213213
GroupSettings: nil,
214214
Groups: map[uuid.UUID]bool{},
215+
assertGroups: &orgGroupAssert{
216+
ExpectedGroups: []uuid.UUID{},
217+
},
215218
},
216219
{
217220
Name: "LegacyMapping",

enterprise/coderd/enidpsync/role.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (e EnterpriseIDPSync) ParseRoleClaims(ctx context.Context, mergedClaims jwt
6060
slog.F("raw_value", rawType),
6161
slog.Error(err),
6262
)
63-
// TODO: Deterine a static page or not
63+
// TODO: Determine a static page or not
6464
return idpsync.RoleParams{}, &idpsync.HTTPError{
6565
Code: http.StatusInternalServerError,
6666
Msg: "Login disabled until site wide OIDC config is fixed",

0 commit comments

Comments
 (0)