Skip to content

Commit

Permalink
fix: Ajout niveau diplôme bac+4 (#1391)
Browse files Browse the repository at this point in the history
* fix: Ajout niveau diplôme bac+4

* Update constant.service.ts

* Update recruteur.ts

* Update buildAvailableDiplomas.tsx

* Update AjouterVoeux.tsx

* Update buildDiplomas.tsx

* fix: test update

---------

Co-authored-by: Alan Le Ruyet <[email protected]>
  • Loading branch information
guilletmarion and alanlr authored Aug 7, 2024
1 parent 7cd70af commit 565a8e9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions cypress/pages/SearchForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const diplomaMap = {
"3 (CAP...)": "Cap, autres formations niveau 3",
"4 (BAC...)": "Bac, autres formations niveau 4",
"5 (BTS, DEUST...)": "BTS, DEUST, autres formations niveaux 5 (Bac+2)",
"6 (Licence...)": "Licence, autres formations niveaux 6 (bac+3)",
"7 (Master, titre ingénieur...)": "Master, titre ingénieur, autres formations niveaux 7 ou 8 (bac+5)",
"6 (Licence...)": "Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)",
"7 (Master, titre ingénieur...)": "Master, titre ingénieur, autres formations niveaux 7 ou 8 (Bac+5)",
}

type Diploma = keyof typeof diplomaMap
Expand Down
2 changes: 1 addition & 1 deletion server/src/services/constant.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const NIVEAUX_POUR_LBA = {
"3 (CAP...)": "Cap, autres formations niveau (Infrabac)",
"4 (BAC...)": "BP, Bac, autres formations niveau (Bac)",
"5 (BTS, DEUST...)": "BTS, DEUST, autres formations niveau (Bac+2)",
"6 (Licence, BUT...)": "Licence, autres formations niveau (Bac+3)",
"6 (Licence, BUT...)": "Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)",
"7 (Master, titre ingénieur...)": "Master, titre ingénieur, autres formations niveau (Bac+5)",
}

Expand Down
2 changes: 1 addition & 1 deletion shared/constants/recruteur.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const NIVEAUX_POUR_LBA = {
"3 (CAP...)": "Cap, autres formations niveau (Infrabac)",
"4 (BAC...)": "BP, Bac, autres formations niveau (Bac)",
"5 (BTS, DEUST...)": "BTS, DEUST, autres formations niveau (Bac+2)",
"6 (Licence, BUT...)": "Licence, autres formations niveau (Bac+3)",
"6 (Licence, BUT...)": "Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)",
"7 (Master, titre ingénieur...)": "Master, titre ingénieur, autres formations niveau (Bac+5)",
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ exports[`generateOpenApiSchema > should generate proper schema 1`] = `
"Cap, autres formations niveau (Infrabac)",
"BP, Bac, autres formations niveau (Bac)",
"BTS, DEUST, autres formations niveau (Bac+2)",
"Licence, autres formations niveau (Bac+3)",
"Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)",
"Master, titre ingénieur, autres formations niveau (Bac+5)",
"Indifférent",
],
Expand Down Expand Up @@ -6778,7 +6778,7 @@ Limite : 5 appel(s) / 1 seconde(s)
"Cap, autres formations niveau (Infrabac)",
"BP, Bac, autres formations niveau (Bac)",
"BTS, DEUST, autres formations niveau (Bac+2)",
"Licence, autres formations niveau (Bac+3)",
"Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)",
"Master, titre ingénieur, autres formations niveau (Bac+5)",
"Indifférent",
],
Expand Down Expand Up @@ -6951,7 +6951,7 @@ Limite : 5 appel(s) / 1 seconde(s)
"Cap, autres formations niveau (Infrabac)",
"BP, Bac, autres formations niveau (Bac)",
"BTS, DEUST, autres formations niveau (Bac+2)",
"Licence, autres formations niveau (Bac+3)",
"Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)",
"Master, titre ingénieur, autres formations niveau (Bac+5)",
"Indifférent",
],
Expand Down Expand Up @@ -10064,7 +10064,7 @@ Limite : 5 appel(s) / 1 seconde(s)
"Cap, autres formations niveau (Infrabac)",
"BP, Bac, autres formations niveau (Bac)",
"BTS, DEUST, autres formations niveau (Bac+2)",
"Licence, autres formations niveau (Bac+3)",
"Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)",
"Master, titre ingénieur, autres formations niveau (Bac+5)",
"Indifférent",
],
Expand Down Expand Up @@ -10236,7 +10236,7 @@ Limite : 5 appel(s) / 1 seconde(s)
"Cap, autres formations niveau (Infrabac)",
"BP, Bac, autres formations niveau (Bac)",
"BTS, DEUST, autres formations niveau (Bac+2)",
"Licence, autres formations niveau (Bac+3)",
"Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)",
"Master, titre ingénieur, autres formations niveau (Bac+5)",
"Indifférent",
],
Expand Down
2 changes: 1 addition & 1 deletion ui/components/espace_pro/AjouterVoeux.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const AjouterVoeuxForm = ({
<option value="Cap, autres formations niveau (Infrabac)">Cap, autres formations niveau (Infrabac)</option>
<option value="BP, Bac, autres formations niveau (Bac)">BP, Bac, autres formations niveau (Bac)</option>
<option value="BTS, DEUST, autres formations niveau (Bac+2)">BTS, DEUST, autres formations niveau (Bac+2)</option>
<option value="Licence, autres formations niveau (Bac+3)">Licence, autres formations niveau (Bac+3)</option>
<option value="Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)">Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)</option>
<option value="Master, titre ingénieur, autres formations niveau (Bac+5)">Master, titre ingénieur, autres formations niveau (Bac+5)</option>
</Select>
{errors.job_level_label && touched.job_level_label && <FormErrorMessage>{errors.job_level_label as string}</FormErrorMessage>}
Expand Down
4 changes: 2 additions & 2 deletions ui/services/buildAvailableDiplomas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const diplomaMap = {
"3 (CAP...)": "Cap, autres formations niveau 3",
"4 (BAC...)": "Bac, autres formations niveau 4",
"5 (BTS, DEUST...)": "BTS, DEUST, autres formations niveaux 5 (Bac+2)",
"6 (Licence, BUT...)": "Licence, autres formations niveaux 6 (bac+3)",
"7 (Master, titre ingénieur...)": "Master, titre ingénieur, autres formations niveaux 7 ou 8 (bac+5)",
"6 (Licence, BUT...)": "Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)",
"7 (Master, titre ingénieur...)": "Master, titre ingénieur, autres formations niveaux 7 ou 8 (Bac+5)",
}

const defaultDiploma = "Indifférent"
Expand Down
4 changes: 2 additions & 2 deletions ui/services/buildDiplomas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const diplomaMap = {
"3 (CAP...)": "Cap, autres formations niveau 3",
"4 (BAC...)": "Bac, autres formations niveau 4",
"5 (BTS, DEUST...)": "BTS, DEUST, autres formations niveaux 5 (Bac+2)",
"6 (Licence...)": "Licence, autres formations niveaux 6 (bac+3)",
"7 (Master, titre ingénieur...)": "Master, titre ingénieur, autres formations niveaux 7 ou 8 (bac+5)",
"6 (Licence...)": "Licence, Maîtrise, autres formations niveaux 6 (Bac+3 à Bac+4)",
"7 (Master, titre ingénieur...)": "Master, titre ingénieur, autres formations niveaux 7 ou 8 (Bac+5)",
}

export default function buildDiplomas() {
Expand Down

0 comments on commit 565a8e9

Please sign in to comment.