mirror of
https://github.com/kind-0/nsecbunkerd.git
synced 2026-05-03 07:00:11 +00:00
test: update tests to use numeric policyId instead of string
This commit is contained in:
parent
49a36ca67c
commit
2b9e2cb116
@ -57,7 +57,7 @@ describe('create_new_token', () => {
|
|||||||
data: {
|
data: {
|
||||||
keyName: 'my-key',
|
keyName: 'my-key',
|
||||||
clientName: 'Test App',
|
clientName: 'Test App',
|
||||||
policyId: '1',
|
policyId: 1,
|
||||||
createdBy: 'test-pubkey-hex',
|
createdBy: 'test-pubkey-hex',
|
||||||
token: expect.any(String),
|
token: expect.any(String),
|
||||||
},
|
},
|
||||||
@ -89,7 +89,7 @@ describe('create_new_token', () => {
|
|||||||
data: {
|
data: {
|
||||||
keyName: 'my-key',
|
keyName: 'my-key',
|
||||||
clientName: 'Test App',
|
clientName: 'Test App',
|
||||||
policyId: '1',
|
policyId: 1,
|
||||||
createdBy: 'test-pubkey-hex',
|
createdBy: 'test-pubkey-hex',
|
||||||
token: expect.any(String),
|
token: expect.any(String),
|
||||||
expiresAt: expect.any(Date),
|
expiresAt: expect.any(Date),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user