From 90a9c9b34b43a0f96adf1a7ecd370feb9b1f3f12 Mon Sep 17 00:00:00 2001 From: Julien Perrin Date: Wed, 10 Jul 2024 10:16:47 +0200 Subject: [PATCH] =?UTF-8?q?test:=20accessibilit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/integration/http/api/questionnaire-routes-test.js | 2 +- backend/test/integration/http/utils/externalLinks-test.js | 4 ++-- backend/test/unit/regions-test.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/test/integration/http/api/questionnaire-routes-test.js b/backend/test/integration/http/api/questionnaire-routes-test.js index 12d8b335f..c513a07dd 100644 --- a/backend/test/integration/http/api/questionnaire-routes-test.js +++ b/backend/test/integration/http/api/questionnaire-routes-test.js @@ -122,7 +122,7 @@ describe(__filename, withServer(({ startServer, getTestDatabase, insertIntoDatab } }, carif: { - nom: 'Défi Métiers', + nom: 'Défi Métiers - île-de-France', url: 'https://www.defi-metiers.fr/', active: true } diff --git a/backend/test/integration/http/utils/externalLinks-test.js b/backend/test/integration/http/utils/externalLinks-test.js index 894c4d36c..b3d0f111e 100644 --- a/backend/test/integration/http/utils/externalLinks-test.js +++ b/backend/test/integration/http/utils/externalLinks-test.js @@ -125,8 +125,8 @@ describe(__filename, withMongoDB(({ getTestDatabase, getTestFile, getComponents }, }); - let links = await externalLinks(db, communes).getLink(stagiaire, 'clara'); - assert.strictEqual(links, 'https://clara.francetravail.fr'); + let links = await externalLinks(db, communes).getLink(stagiaire, 'mesdroitssociaux'); + assert.strictEqual(links, 'https://www.mesdroitssociaux.gouv.fr/'); }); it('should get null link when trying to get Offres France Travail link when formation has no formacode', async () => { diff --git a/backend/test/unit/regions-test.js b/backend/test/unit/regions-test.js index bafd649ed..293603cd0 100644 --- a/backend/test/unit/regions-test.js +++ b/backend/test/unit/regions-test.js @@ -7,7 +7,7 @@ describe(__filename, () => { let region = regions().findRegionByCodeRegion('52'); assert.deepStrictEqual(region, { - nom: 'Pays de la Loire', + nom: 'Région Pays de la Loire', active: true, since: '2017-07-01', codeRegion: '52', @@ -48,7 +48,7 @@ describe(__filename, () => { import: 'all', }, carif: { - nom: 'Orientation Pays de la Loire', + nom: 'Choisir mon metier en Pays de la Loire', url: 'http://www.orientation-paysdelaloire.fr/', active: true }