diff --git a/src/test/java/de/tum/in/www1/artemis/notification/NotificationResourceIntegrationTest.java b/src/test/java/de/tum/in/www1/artemis/notification/NotificationResourceIntegrationTest.java index a87bb48d8f96..3b77aaf360d7 100644 --- a/src/test/java/de/tum/in/www1/artemis/notification/NotificationResourceIntegrationTest.java +++ b/src/test/java/de/tum/in/www1/artemis/notification/NotificationResourceIntegrationTest.java @@ -37,9 +37,6 @@ class NotificationResourceIntegrationTest extends AbstractSpringIntegrationIndep @Autowired private NotificationRepository notificationRepository; - @Autowired - private SystemNotificationRepository systemNotificationRepository; - @Autowired private NotificationSettingRepository notificationSettingRepository; @@ -60,7 +57,6 @@ void initTestCase() { userUtilService.addUsers(TEST_PREFIX, 2, 1, 1, 1); course1 = textExerciseUtilService.addCourseWithOneReleasedTextExercise(); course2 = textExerciseUtilService.addCourseWithOneReleasedTextExercise(); - systemNotificationRepository.deleteAll(); notificationRepository.deleteAll(); User student1 = userUtilService.getUserByLogin(TEST_PREFIX + "student1"); @@ -70,7 +66,6 @@ void initTestCase() { @AfterEach void tearDown() { - systemNotificationRepository.deleteAll(); notificationRepository.deleteAll(); }