Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg committed Nov 27, 2024
1 parent 1466d4e commit b4cfcee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodebuilder/tests/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func getAdminClient(ctx context.Context, nd *nodebuilder.Node, t *testing.T) *cl
signer := nd.AdminSigner
listenAddr := "ws://" + nd.RPCServer.ListenAddr()

jwt, err := authtoken.NewSignedJWT(signer, []auth.Permission{"public", "read", "write", "admin"})
jwt, err := authtoken.NewSignedJWT(signer, []auth.Permission{"public", "read", "write", "admin"}, time.Minute)
require.NoError(t, err)

client, err := client.NewClient(ctx, listenAddr, jwt)
Expand Down

0 comments on commit b4cfcee

Please sign in to comment.