Skip to content

Commit

Permalink
fix default birthdate
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeBu committed Jul 17, 2024
1 parent 4e31161 commit 303e9b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ describe("convention e2e", () => {
dateDebut: "2021-01-06T00:00:00.000Z",
dateDemande: "2021-01-04T00:00:00.000Z",
dateFin: "2021-01-15T00:00:00.000Z",
dateNaissance: "2002-10-05T14:48:00.000Z",
dateNaissance: "2002-10-05T00:00:00.000Z",
descriptionPreventionSanitaire: "fourniture de gel",
dureeImmersion: 70,
email: "[email protected]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ describe("Broadcasts events to pole-emploi", () => {
romeCode: "A1111",
romeLabel: "some Rome",
})
.withBeneficiaryBirthdate("2000-10-05")
.withStatus("ACCEPTED_BY_VALIDATOR")
.withFederatedIdentity({ provider: "peConnect", token: "some-id" })
.withDateStart("2021-05-12")
Expand All @@ -174,6 +175,7 @@ describe("Broadcasts events to pole-emploi", () => {
dureeImmersion: 21,
dateDebut: "2021-05-12T00:00:00.000Z",
dateFin: "2021-05-14T00:30:00.000Z",
dateNaissance: "2000-10-05T00:00:00.000Z",
statut: "DEMANDE_VALIDÉE",
codeAppellation: "011111",
});
Expand Down
2 changes: 1 addition & 1 deletion shared/src/convention/ConventionDtoBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const beneficiary: Beneficiary<"immersion"> = {
emergencyContactPhone: "+33663567896",
emergencyContactEmail: "[email protected]",
financiaryHelp: "Un stage rémunéré au SMIC?",
birthdate: "2002-10-05T14:48:00.000Z",
birthdate: "2002-10-05",
};

const establishmentTutor: EstablishmentTutor = {
Expand Down

0 comments on commit 303e9b6

Please sign in to comment.