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:
Aysegul Aydinlik 2026-01-22 15:17:03 +01:00
commit 14a4e157ea
2 changed files with 177 additions and 1 deletions

View file

@ -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) {