Skip to content

Commit 0881a7f

Browse files
committed
Fix mint jwt cmd tests
Signed-off-by: Guilherme Carvalho <[email protected]>
1 parent 3e2345a commit 0881a7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/spire-server/cli/jwt/mint_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ func TestMintRun(t *testing.T) {
202202
"path": "/workload"
203203
},
204204
"expires_at": "1628600000",
205+
"hint": "",
205206
"issued_at": "1628500000"
206207
}
207208
}`, token)},
@@ -244,6 +245,7 @@ func TestMintRun(t *testing.T) {
244245
"svid": {
245246
"token": "malformed token",
246247
"expires_at": "0",
248+
"hint": "",
247249
"issued_at": "0"
248250
}
249251
}`,
@@ -278,6 +280,7 @@ func TestMintRun(t *testing.T) {
278280
"path": "/workload"
279281
},
280282
"expires_at": "1628500000",
283+
"hint": "",
281284
"issued_at": "1628600000"
282285
}
283286
}`, expiredToken),

0 commit comments

Comments
 (0)