feat: fiabilisation des formations via API Alternance #66
Annotations
10 errors and 1 warning
tests/integration/jobs/ingestion/process-ingestion.test.ts > Processus d'ingestion > Ingestion de données valides > Ingestion de nouvelles données valides > Vérifie l'ingestion valide d'un nouveau dossier valide pour un organisme fiable:
server/tests/integration/jobs/ingestion/process-ingestion.test.ts#L109
AssertionError: expected 'Error: Nock: No match for request {\n…' to be undefined
- Expected:
undefined
+ Received:
"Error: Nock: No match for request {
\"method\": \"GET\",
\"url\": \"https://api.apprentissage.beta.gouv.fr/api/certification/v1?identifiant.cfd=50033610\",
\"headers\": {
\"authorization\": \"***"
}
}"
❯ tests/integration/jobs/ingestion/process-ingestion.test.ts:109:37
|
tests/integration/jobs/ingestion/process-ingestion.test.ts > Processus d'ingestion > Ingestion de données valides > Ingestion de nouvelles données valides > Vérifie l'ingestion valide d'un nouveau dossier valide pour un organisme fiable et que la donnée est bien trimmée:
server/tests/integration/jobs/ingestion/process-ingestion.test.ts#L163
AssertionError: expected 'Error: Nock: No match for request {\n…' to be undefined
- Expected:
undefined
+ Received:
"Error: Nock: No match for request {
\"method\": \"GET\",
\"url\": \"https://api.apprentissage.beta.gouv.fr/api/certification/v1?identifiant.cfd=50033610\",
\"headers\": {
\"authorization\": \"***"
}
}"
❯ tests/integration/jobs/ingestion/process-ingestion.test.ts:163:37
|
tests/integration/jobs/ingestion/process-ingestion.test.ts > Processus d'ingestion > Ingestion de données valides > Ingestion de mises à jour de données valides > Vérifie l'ingestion et la mise à jour valide d'un dossier valide déja existant pour un organisme fiable:
server/tests/integration/jobs/ingestion/process-ingestion.test.ts#L329
AssertionError: expected 'Error: Nock: No match for request {\n…' to be undefined
- Expected:
undefined
+ Received:
"Error: Nock: No match for request {
\"method\": \"GET\",
\"url\": \"https://api.apprentissage.beta.gouv.fr/api/certification/v1?identifiant.cfd=50033610\",
\"headers\": {
\"authorization\": \"***"
}
}"
❯ tests/integration/jobs/ingestion/process-ingestion.test.ts:329:37
|
tests/integration/jobs/ingestion/process-ingestion.test.ts > Processus d'ingestion > Ingestion de données valides > Ingestion de mises à jour de données valides > Vérifie l'ingestion et la non mise à jour d'un dossier dont la clé d'unicité est différente d'un dossier déja existant:
server/tests/integration/jobs/ingestion/process-ingestion.test.ts#L378
AssertionError: expected 'Error: Nock: No match for request {\n…' to be undefined
- Expected:
undefined
+ Received:
"Error: Nock: No match for request {
\"method\": \"GET\",
\"url\": \"https://api.apprentissage.beta.gouv.fr/api/certification/v1?identifiant.cfd=77733777\",
\"headers\": {
\"authorization\": \"***"
}
}"
❯ tests/integration/jobs/ingestion/process-ingestion.test.ts:378:37
|
tests/integration/jobs/ingestion/process-ingestion.test.ts > Processus d'ingestion > Ingestion de données valides > Ingestion de nouvelles données valides v3 > Vérifie l'ingestion valide d'un nouveau dossier valide v3 pour un organisme fiable:
server/tests/integration/jobs/ingestion/process-ingestion.test.ts#L522
AssertionError: expected 'Error: Nock: No match for request {\n…' to be undefined
- Expected:
undefined
+ Received:
"Error: Nock: No match for request {
\"method\": \"GET\",
\"url\": \"https://api.apprentissage.beta.gouv.fr/api/certification/v1?identifiant.rncp=RNCP123\",
\"headers\": {
\"authorization\": \"***"
}
}"
❯ tests/integration/jobs/ingestion/process-ingestion.test.ts:522:37
|
tests/integration/jobs/ingestion/process-ingestion.test.ts > Processus d'ingestion > Ingestion de données valides > Ingestion de nouvelles données valides v3 > Vérifie l'ingestion valide d'un nouveau dossier valide v3 pour un organisme fiable avec seulement les champs obligatoires:
server/tests/integration/jobs/ingestion/process-ingestion.test.ts#L671
AssertionError: expected 'Error: Nock: No match for request {\n…' to be undefined
- Expected:
undefined
+ Received:
"Error: Nock: No match for request {
\"method\": \"GET\",
\"url\": \"https://api.apprentissage.beta.gouv.fr/api/certification/v1?identifiant.rncp=RNCP123\",
\"headers\": {
\"authorization\": \"***"
}
}"
❯ tests/integration/jobs/ingestion/process-ingestion.test.ts:671:37
|
tests/integration/jobs/ingestion/process-ingestion.test.ts > Processus d'ingestion > Ingestion de données valides > Ingestion de nouvelles données valides v3 > Vérifie l'ingestion et la mise à jour valide d'un dossier valide v3 déja existant pour un organisme fiable:
server/tests/integration/jobs/ingestion/process-ingestion.test.ts#L792
AssertionError: expected 'Error: Nock: No match for request {\n…' to be undefined
- Expected:
undefined
+ Received:
"Error: Nock: No match for request {
\"method\": \"GET\",
\"url\": \"https://api.apprentissage.beta.gouv.fr/api/certification/v1?identifiant.rncp=RNCP123\",
\"headers\": {
\"authorization\": \"***"
}
}"
❯ tests/integration/jobs/ingestion/process-ingestion.test.ts:792:37
|
tests/integration/jobs/ingestion/process-ingestion.test.ts > Processus d'ingestion > Ingestion de données valides > Ingestion de nouvelles données valides v3 > Vérifie l'ingestion valide d'un nouveau dossier valide v3 avec des données automatiquement corrigées (cas à la marge):
server/tests/integration/jobs/ingestion/process-ingestion.test.ts#L857
AssertionError: expected 'Error: Nock: No match for request {\n…' to be undefined
- Expected:
undefined
+ Received:
"Error: Nock: No match for request {
\"method\": \"GET\",
\"url\": \"https://api.apprentissage.beta.gouv.fr/api/certification/v1?identifiant.rncp=RNCP123\",
\"headers\": {
\"authorization\": \"***"
}
}"
❯ tests/integration/jobs/ingestion/process-ingestion.test.ts:857:37
|
tests/integration/jobs/ingestion/process-ingestion.test.ts > Processus d'ingestion > Ingestion de données invalides > Ingestion de mises à jour de données invalides > Vérifie la mise à l'écart d'une mise à jour de dossier avec un statut invalide:
server/tests/integration/jobs/ingestion/process-ingestion.test.ts#L1290
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ tests/integration/jobs/ingestion/process-ingestion.test.ts:1290:9
|
tests / Tests
Process completed with exit code 1.
|
tests / Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|