Skip to content

Commit 6ecd6bc

Browse files
committed
fix: test を仕様に合わせて修正
1 parent 0d1a44f commit 6ecd6bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

router/oauth2/revoke_token_endpoint_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func runRevokeTokenEndpointTests(t *testing.T, useUUIDv4 bool) {
4949
Status(http.StatusOK)
5050

5151
_, err = env.Repository.GetTokenByID(token.ID)
52-
assert.EqualError(t, err, repository.ErrNotFound.Error())
52+
assert.NoError(t, err)
5353
})
5454

5555
t.Run("RefreshToken", func(t *testing.T) {

0 commit comments

Comments
 (0)