diff --git a/config/environments/recette-ode4.json b/config/environments/recette-ode4.json new file mode 100644 index 0000000..2fddcad --- /dev/null +++ b/config/environments/recette-ode4.json @@ -0,0 +1,5 @@ +{ + "id": "recette-ode4", + "label": "Recette ODE 4", + "url": "https://recette-ode4.opendigitaleducation.com/" +} diff --git a/src/config/envConfigs.ts b/src/config/envConfigs.ts index ba53b17..7084964 100644 --- a/src/config/envConfigs.ts +++ b/src/config/envConfigs.ts @@ -67,6 +67,11 @@ export const DEFAULT_ENVIRONMENTS: EnvironmentConfig[] = [ label: 'Recette ODE 3', url: 'https://recette-ode3.opendigitaleducation.com/', }, + { + id: 'recette-ode4', + label: 'Recette ODE 4', + url: 'https://recette-ode4.opendigitaleducation.com/', + }, { id: 'recette-release', label: 'Recette Release', diff --git a/tests/config/envConfigs.test.ts b/tests/config/envConfigs.test.ts index f887fe1..34c5dfb 100644 --- a/tests/config/envConfigs.test.ts +++ b/tests/config/envConfigs.test.ts @@ -7,12 +7,13 @@ import { } from '../../src/config/envConfigs'; describe('envConfigs', () => { - it('DEFAULT_ENVIRONMENTS contient les 5 environnements attendus', () => { - expect(DEFAULT_ENVIRONMENTS).toHaveLength(5); + it('DEFAULT_ENVIRONMENTS contient les 6 environnements attendus', () => { + expect(DEFAULT_ENVIRONMENTS).toHaveLength(6); const ids = DEFAULT_ENVIRONMENTS.map((e) => e.id); expect(ids).toContain('recette-ode1'); expect(ids).toContain('recette-ode2'); expect(ids).toContain('recette-ode3'); + expect(ids).toContain('recette-ode4'); expect(ids).toContain('recette-release'); expect(ids).toContain('local'); });