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, }); };