fix: remove test log
This commit is contained in:
parent
ae34fc7c2b
commit
29c6003ea3
|
@ -2,7 +2,6 @@ package test
|
|||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/authorizerdev/authorizer/server/constants"
|
||||
|
@ -37,11 +36,9 @@ func profileTests(t *testing.T, s TestSetup) {
|
|||
s.GinContext.Request.Header.Set("Authorization", "Bearer "+*verifyRes.AccessToken)
|
||||
ctx = context.WithValue(req.Context(), "GinContextKey", s.GinContext)
|
||||
profileRes, err := resolvers.ProfileResolver(ctx)
|
||||
fmt.Println("=> err:", err)
|
||||
assert.Nil(t, err)
|
||||
assert.NotNil(t, profileRes)
|
||||
s.GinContext.Request.Header.Set("Authorization", "")
|
||||
fmt.Println("=> res:", profileRes.Email, email)
|
||||
newEmail := profileRes.Email
|
||||
assert.Equal(t, email, newEmail, "emails should be equal")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user