Skip to content

Commit

Permalink
fixed shouldCreateProjectFromBackupFile test
Browse files Browse the repository at this point in the history
  • Loading branch information
soimugeo committed Dec 19, 2024
1 parent b53ace1 commit 9713549
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ void setUp() {
processOntologiesExecutor,
createInitialRevisionHistoryExecutor,
prepareBinaryFileBackupForUseExecutor,
createProjectSmallFilesExecutor, fileDownloader,
createProjectSmallFilesExecutor,
fileDownloader,
revisionHistoryReplacer,
projectPermissionsInitializer);
janeDoe = UserId.valueOf("JaneDoe");
Expand Down Expand Up @@ -240,6 +241,9 @@ void shouldCreateProjectFromBackupFile() throws ExecutionException, InterruptedE
when(projectPermissionsInitializer.applyDefaultPermissions(any(ProjectId.class), any(UserId.class)))
.thenReturn(CompletableFuture.completedFuture(null));

when(createProjectSmallFilesExecutor.execute(any(), eq(executionContext)))
.thenReturn(CompletableFuture.completedFuture(null));

when(projectDetailsManager.getProjectDetails(any(ProjectId.class)))
.thenReturn(projectDetails);

Expand Down

0 comments on commit 9713549

Please sign in to comment.