diff --git a/apps/server/src/modules/user-login-migration/controller/api-test/user-login-migration.api.spec.ts b/apps/server/src/modules/user-login-migration/controller/api-test/user-login-migration.api.spec.ts index 986740848b9..f23795a35ab 100644 --- a/apps/server/src/modules/user-login-migration/controller/api-test/user-login-migration.api.spec.ts +++ b/apps/server/src/modules/user-login-migration/controller/api-test/user-login-migration.api.spec.ts @@ -260,7 +260,7 @@ describe('UserLoginMigrationController (API)', () => { expect(response.status).toEqual(HttpStatus.CREATED); }); - it.only('should return the user login migration', async () => { + it('should return the user login migration', async () => { const { loggedInClient, sourceSystem, targetSystem } = await setup(); const response: Response = await loggedInClient.post(`/start`); diff --git a/apps/server/src/shared/domain/entity/base.entity.ts b/apps/server/src/shared/domain/entity/base.entity.ts index ba2a875c8d5..fde2349ae36 100644 --- a/apps/server/src/shared/domain/entity/base.entity.ts +++ b/apps/server/src/shared/domain/entity/base.entity.ts @@ -35,4 +35,4 @@ export abstract class BaseEntityWithTimestamps implements AuthorizableObject { } // These fields are explicitly ignored when updating an entity. See base.do.repo.ts. -export const baseEntityProperties = ['updatedAt', 'createdAt']; +export const baseEntityProperties = ['id', '_id', 'updatedAt', 'createdAt']; diff --git a/jest.config.ts b/jest.config.ts index 5eb7811f620..0a3acc84f5b 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -43,7 +43,7 @@ if (!process.env.RUN_WITHOUT_JEST_COVERAGE) { }, // add custom paths: './apps/server/path...': { branches: X, functions: ... } }, - testTimeout: 3600000 + testTimeout: 5000 }; }