Skip to content

Commit

Permalink
feat: données non obligatoires ignorées
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Perrin committed Jul 12, 2024
1 parent 2531737 commit 6a8895c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ describe(__filename, withMongoDB(({ getTestDatabase, getComponents, getTestFile,
},
});

let resultsSiret0 = await db.collection('stagiaires').find({ 'individu.nom': 'MARTINADO' }).toArray()[0];
let resultsSiret0 = (await db.collection('stagiaires').find({ 'individu.nom': 'MARTINADO' }).toArray())[0];
assert.strictEqual("MARTINADO", resultsSiret0.individu.nom);
assert.strictEqual("82436343601230", resultsSiret0.formation.action.organisme_formateur.siret);
assert.strictEqual("ANOTEA 0", resultsSiret0.formation.action.organisme_formateur.raison_sociale);
Expand Down

0 comments on commit 6a8895c

Please sign in to comment.