feat: LBA-2158 ajout d'un contrôle sur la valeur d'OPCO #4670
Annotations
4 errors and 1 warning
test:
server/src/http/controllers/etablissementRecruteur.controller.test.ts#L48
Error: Snapshot `POST /etablissement/creation > Vérifie que le recruteur est créé avec une offre 1` mismatched
- Expected
+ Received
@@ -37,16 +37,15 @@
2.308628,
48.850699,
],
"type": "Point",
},
- "idcc": "3248",
"is_delegated": false,
"jobs": [],
"last_name": "Doe",
"naf_code": "84.11Z",
"naf_label": "Administration publique générale",
- "opco": "AKTO / Opco entreprises et salariés des services à forte intensité de main d'oeuvre",
+ "opco": "inconnu",
"origin": "lba",
"phone": "0612345678",
"status": "Actif",
}
❯ src/http/controllers/etablissementRecruteur.controller.test.ts:48:104
|
test:
server/src/http/controllers/etablissementRecruteur.controller.test.ts#L70
AssertionError: expected 'inconnu' to be 'AKTO / Opco entreprises et salariés d…' // Object.is equality
Expected: "AKTO / Opco entreprises et salariés des services à forte intensité de main d'oeuvre"
Received: "inconnu"
❯ src/http/controllers/etablissementRecruteur.controller.test.ts:70:35
|
test:
server/src/http/controllers/etablissementRecruteur.controller.test.ts#L88
AssertionError: expected 'inconnu' to be 'AKTO / Opco entreprises et salariés d…' // Object.is equality
Expected: "AKTO / Opco entreprises et salariés des services à forte intensité de main d'oeuvre"
Received: "inconnu"
❯ src/http/controllers/etablissementRecruteur.controller.test.ts:88:36
|
test
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading