diff --git a/backend/${IMAGE_PATH}/5871dfad-83fc-4665-b2d6-5edeada95134_bono.jpg b/backend/${IMAGE_PATH}/5871dfad-83fc-4665-b2d6-5edeada95134_bono.jpg deleted file mode 100644 index c936434..0000000 Binary files a/backend/${IMAGE_PATH}/5871dfad-83fc-4665-b2d6-5edeada95134_bono.jpg and /dev/null differ diff --git a/backend/${IMAGE_PATH}/7da84650-3544-45e3-9677-f8187b8ceb34_bono.jpg b/backend/${IMAGE_PATH}/7da84650-3544-45e3-9677-f8187b8ceb34_bono.jpg deleted file mode 100644 index c936434..0000000 Binary files a/backend/${IMAGE_PATH}/7da84650-3544-45e3-9677-f8187b8ceb34_bono.jpg and /dev/null differ diff --git a/backend/src/main/java/com/edufocus/edufocus/quiz/controller/QuizController.java b/backend/src/main/java/com/edufocus/edufocus/quiz/controller/QuizController.java index 49b009d..c95b595 100644 --- a/backend/src/main/java/com/edufocus/edufocus/quiz/controller/QuizController.java +++ b/backend/src/main/java/com/edufocus/edufocus/quiz/controller/QuizController.java @@ -73,6 +73,10 @@ public class QuizController { return new ResponseEntity<>(HttpStatus.UNAUTHORIZED); } + if (quizset.isTested()) { + return new ResponseEntity<>(HttpStatus.CONFLICT); + } + quizSetService.updateQuizSet(quizSetUpdateRequest.getId(), quizSetUpdateRequest.getTitle()); Map quizUpdatedCheckMap = new HashMap<>();