diff --git a/src/test/java/de/tum/cit/aet/artemis/service/scheduled/DataExportScheduleServiceTest.java b/src/test/java/de/tum/cit/aet/artemis/service/scheduled/DataExportScheduleServiceTest.java index d77a8e1785ee..1e4ea8f17ac3 100644 --- a/src/test/java/de/tum/cit/aet/artemis/service/scheduled/DataExportScheduleServiceTest.java +++ b/src/test/java/de/tum/cit/aet/artemis/service/scheduled/DataExportScheduleServiceTest.java @@ -127,7 +127,7 @@ private static Stream provideCreationDatesAndExpectedToDelete() { @Test void testCronDataExportCreationTaskScheduledEveryDayAt4AMByDefault() { final String cronExpression = "0 0 4 * * *"; - final String cronTaskName = "de.tum.cit.aet.artemis.service.scheduled.DataExportScheduleService.createDataExportsAndDeleteOldOnes"; + final String cronTaskName = "de.tum.cit.aet.artemis.core.service.DataExportScheduleService.createDataExportsAndDeleteOldOnes"; Set scheduledTasks = scheduledTaskHolder.getScheduledTasks(); long scheduledCronTasksToCreateDataExportsAt4AM = scheduledTasks.stream().filter(scheduledTask -> scheduledTask.getTask() instanceof CronTask) .map(scheduledTask -> (CronTask) scheduledTask.getTask()).filter(cronTask -> (cronExpression).equals(cronTask.getExpression()))