summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/api/auth/auth_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/api/auth/auth_test.go b/internal/api/auth/auth_test.go
index 50b6c9b..66bcc27 100644
--- a/internal/api/auth/auth_test.go
+++ b/internal/api/auth/auth_test.go
@@ -19,6 +19,8 @@ func TestGenerateAndValidateJWT(t *testing.T) {
assert.NoError(t, err)
assert.NotEmpty(t, tokenString)
+ tokenString = "Bearer " + tokenString
+
claims, err := ValidateJWT(tokenString)
assert.NoError(t, err)
assert.NotNil(t, claims)