Skip to content

Commit 8967a42

Browse files
committed
fixup test
1 parent 2a1e2d0 commit 8967a42

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
@@ -210,9 +210,12 @@ func TestGroupSyncTable(t *testing.T) {
210210
},
211211
},
212212
{
213-
Name: "NoSettingsNoUser",
213+
Name: "NoSettings",
214214
GroupSettings: nil,
215215
Groups: map[uuid.UUID]bool{},
216+
assertGroups: &orgGroupAssert{
217+
ExpectedGroups: []uuid.UUID{},
218+
},
216219
},
217220
{
218221
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)