Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions assets/enum/demande_clinique/reponse/type.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
export const PRIORITAIRE = 1;
export const DANS_L_HEURE = 2;
export const DANS_LA_JOURNEE = 3;
export const DANS_LES_48_HEURES = 4;

export const getAll = () => {
return [PRIORITAIRE, DANS_L_HEURE, DANS_LA_JOURNEE, DANS_LES_48_HEURES];
return [PRIORITAIRE, DANS_L_HEURE, DANS_LA_JOURNEE];
};

export const getLabel = (type) => {
Expand All @@ -15,8 +14,6 @@ export const getLabel = (type) => {
return 'Dans l\'heure';
case DANS_LA_JOURNEE:
return 'Dans la journée';
case DANS_LES_48_HEURES:
return 'Dans les 48 heures';
default:
return 'Aucun type';
}
Expand Down
1 change: 0 additions & 1 deletion src/Enum/DemandeClinique/Reponse/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public static function getAll(): array
self::PRIORITAIRE,
self::DANS_L_HEURE,
self::DANS_LA_JOURNEE,
self::DANS_LES_48_HEURES,
];
}
}
2 changes: 1 addition & 1 deletion tests/units/Manager/DemandeClinique/ReponseManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function testCreerKo()
$depot = $this->getDepot(),
$titre = 'titre',
$description = 'description',
$type = 5
$type = 4
)
->if(
$this->reponseValidator->getMockController()->valider = function () {
Expand Down