added IngredientControllerTest + fix comments

This commit is contained in:
Aysegul Aydinlik 2026-01-22 14:44:27 +01:00
commit 9603742220
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ public class IngredientController {
private final RestTemplate restTemplate = new RestTemplate(); // Simplified REST client
@FXML
void handleDeleteIngredient(ActionEvent event) {
public void handleDeleteIngredient(ActionEvent event) {
// Get selected ingredient
Ingredient selectedIngredient = ingredientListView.getSelectionModel().getSelectedItem();
if (selectedIngredient == null) {