From d5a1e080368f0072d81d9381d8f4ec60eb8c0572 Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Fri, 31 Jan 2025 12:32:48 -0500 Subject: [PATCH] create api keys with no expiration for testing --- packages/cli/test/integration/shared/db/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/test/integration/shared/db/users.ts b/packages/cli/test/integration/shared/db/users.ts index 5da836a0ad..af0cf99820 100644 --- a/packages/cli/test/integration/shared/db/users.ts +++ b/packages/cli/test/integration/shared/db/users.ts @@ -83,7 +83,7 @@ export async function createUserWithMfaEnabled( export const addApiKey = async (user: User) => { return await Container.get(PublicApiKeyService).createPublicApiKeyForUser(user, { label: randomName(), - expiresAt: Date.now() / 1000 + 100, + expiresAt: null, }); };