Skip to content

Commit

Permalink
test: accessibilité
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Perrin committed Jul 10, 2024
1 parent dec5972 commit 90a9c9b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 2 additions & 2 deletions backend/test/integration/http/utils/externalLinks-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
4 changes: 2 additions & 2 deletions backend/test/unit/regions-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 90a9c9b

Please sign in to comment.