Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
appeasing kaiser code cov
Browse files Browse the repository at this point in the history
Signed-off-by: Katrina Rogan <[email protected]>
  • Loading branch information
katrogan committed Jun 16, 2022
1 parent d1df707 commit a132394
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion auth/identity_context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import (
)

func TestGetClaims(t *testing.T) {
noClaims := make(map[string]interface{})
noClaimsCtx := NewIdentityContext("", "", "", time.Now(), nil, nil, nil)
assert.Empty(t, noClaimsCtx.Claims())
assert.EqualValues(t, noClaims, noClaimsCtx.Claims())

claims := map[string]interface{}{
"groups": []string{"g1", "g2"},
Expand Down

0 comments on commit a132394

Please sign in to comment.