Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Theel committed Nov 19, 2021
1 parent 69c8e11 commit 2e4a11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ func Test_LoginSignedJWT(t *testing.T) {
cfg.GoCloak.Realm,
rsaKey,
jwt.SigningMethodRS256,
&jwt.NumericDate{time.Now().Add(2 * time.Hour)},
&jwt.NumericDate{Time: time.Now().Add(2 * time.Hour)},
)
require.NoError(t, err, "Login failed")
}
Expand Down

0 comments on commit 2e4a11e

Please sign in to comment.