Skip to content

Commit

Permalink
fix last test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
strantalis committed Jun 21, 2024
1 parent fd69a29 commit 1d58c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/internal/auth/authn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func (s *AuthSuite) Test_CheckToken_When_Invalid_Issuer_Value_Expect_Error() {

_, _, err = s.auth.checkToken(context.Background(), []string{fmt.Sprintf("Bearer %s", string(signedTok))}, receiverInfo{}, nil)
s.Require().Error(err)
s.Contains(err.Error(), "invalid issuer")
s.Contains(err.Error(), "\"iss\" not satisfied: values do not match")
}

func (s *AuthSuite) Test_CheckToken_When_Audience_Missing_Expect_Error() {
Expand Down

0 comments on commit 1d58c4b

Please sign in to comment.