Skip to content

Commit

Permalink
fix: correct test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Dec 5, 2023
1 parent 792cf5a commit cc30f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/authenticator/admin_authenticator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ func (suite *AdminAuthenticatorTestSuite) TestAuth() {
token, err := getSampleTokenWithClaims("admin", suite.key, "issuer", "sub")
require.NoError(err)

require.Error(suite.Authenticator.Auth(token), authenticator.ErrIssNotFound)
require.ErrorIs(suite.Authenticator.Auth(token), authenticator.ErrIssNotFound)
})
}

0 comments on commit cc30f2c

Please sign in to comment.