-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Découple les fixtures pour le formulaire des objets métier
- Loading branch information
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
import { Domaines } from '~/server/cms/domain/offreDeStage.type'; | ||
|
||
import { OffreDeStageDeposee } from './StageDeposerOffre'; | ||
|
||
export const aFormulaireEtapeEntreprise = (): OffreDeStageDeposee.Entreprise => { | ||
export const aFormulaireEtapeEntreprise = () => { | ||
return { | ||
descriptionEmployeur: 'test description', | ||
emailEmployeur: '[email protected]', | ||
|
@@ -12,18 +10,18 @@ export const aFormulaireEtapeEntreprise = (): OffreDeStageDeposee.Entreprise => | |
}; | ||
}; | ||
|
||
export const aFormulaireEtapeStage = (): OffreDeStageDeposee.Stage => { | ||
export const aFormulaireEtapeStage = () => { | ||
return { | ||
dateDeDebutMax: '2123-02-20', | ||
dateDeDebutMin: '2123-01-20', | ||
descriptionOffre: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Auctor eu augue ut lectus arcu bibendum. Curabitur gravida arcu ac tortor dignissim convallis aenean. Adipiscing commodo elit at imperdiet. Ipsum a arcu cursus vitae congue. Sed euismod nisi porta lorem. Facilisis gravida neque convallis a cras semper auctor neque vitae. Ante in nibh mauris cursus. In iaculis nunc sed augue lacus. Pellentesque eu tincidunt tortor aliquam nulla facilisi cras fermentum.', | ||
domaineStage: 'achats' as Domaines, | ||
domaineStage: Domaines.ACHAT, | ||
dureeStage: '30', | ||
isDateDeDebutPrecise: 'true', | ||
isDateDeDebutPrecise: 'true' as const, | ||
lienCandidature: '[email protected]', | ||
nomOffre: 'Nom Offre', | ||
remunerationStage: '1', | ||
teletravail: 'true', | ||
teletravail: 'true' as const, | ||
}; | ||
}; | ||
|
||
|