Merge branch 'testing-client' into 'main'
added IngredientControllerTest Closes #77 See merge request cse1105/2025-2026/teams/csep-team-76!82
This commit is contained in:
commit
14a4e157ea
2 changed files with 177 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ public class IngredientController {
|
|||
private final RestTemplate restTemplate = new RestTemplate(); // Simplified REST client
|
||||
|
||||
@FXML
|
||||
private void handleDeleteIngredient(ActionEvent event) {
|
||||
public void handleDeleteIngredient(ActionEvent event) {
|
||||
// Get selected ingredient
|
||||
Ingredient selectedIngredient = ingredientListView.getSelectionModel().getSelectedItem();
|
||||
if (selectedIngredient == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue