test: update tests to use numeric policyId instead of string

This commit is contained in:
tcheeric 2025-11-28 12:42:58 +00:00
parent 49a36ca67c
commit 2b9e2cb116

View File

@ -57,7 +57,7 @@ describe('create_new_token', () => {
data: {
keyName: 'my-key',
clientName: 'Test App',
policyId: '1',
policyId: 1,
createdBy: 'test-pubkey-hex',
token: expect.any(String),
},
@ -89,7 +89,7 @@ describe('create_new_token', () => {
data: {
keyName: 'my-key',
clientName: 'Test App',
policyId: '1',
policyId: 1,
createdBy: 'test-pubkey-hex',
token: expect.any(String),
expiresAt: expect.any(Date),