diff --git a/api/tests/certification/configuration/integration/infrastructure/repositories/center-pilot-features-repository_test.js b/api/tests/certification/configuration/integration/infrastructure/repositories/center-pilot-features-repository_test.js index 7584c9b300d..ede7e12362e 100644 --- a/api/tests/certification/configuration/integration/infrastructure/repositories/center-pilot-features-repository_test.js +++ b/api/tests/certification/configuration/integration/infrastructure/repositories/center-pilot-features-repository_test.js @@ -41,7 +41,10 @@ describe('Certification | Configuration | Integration | Repository | center-pilo describe('update', function () { it('should update the center pilot features', async function () { // given - const centerData = databaseBuilder.factory.buildCertificationCenter({ isV3Pilot: false, updatedAt: new Date() }); + const centerData = databaseBuilder.factory.buildCertificationCenter({ + isV3Pilot: false, + updatedAt: new Date('2020-01-01'), + }); await databaseBuilder.commit(); // when