added IngredientControllerTest + fix pipeline
This commit is contained in:
parent
9603742220
commit
2dd8627f58
1 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ class IngredientControllerMockTest {
|
|||
|
||||
// pick ingredient -> backend says not in use -> fake delete ingredient
|
||||
@Test
|
||||
void DeleteIngredientWhenNotUsedCallsUsageThenDeleteAndClearsList() throws Exception {
|
||||
void deleteIngredientWhenNotUsedCallsUsageThenDeleteAndClearsList() throws Exception {
|
||||
Ingredient selected = ingredientListView.getItems().get(0);
|
||||
ingredientListView.getSelectionModel().select(selected);
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ class IngredientControllerMockTest {
|
|||
|
||||
//select ingredient -> if used backend says it and show warning -> safety delete but shouldn't happen
|
||||
@Test
|
||||
void DeleteIngredientWhenUsedShowsWarningAndDoesNotDeleteIfDialogClosed() throws Exception {
|
||||
void deleteIngredientWhenUsedShowsWarningAndDoesNotDeleteIfDialogClosed() throws Exception {
|
||||
Ingredient selected = ingredientListView.getItems().get(1);
|
||||
ingredientListView.getSelectionModel().select(selected);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue