Skip to content

Commit 8347dc6

Browse files
committed
Fix failing test
1 parent 6ab275e commit 8347dc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/test/java/com/cloud/user/AccountManagerImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2136,7 +2136,7 @@ public void testCreateUserSuccess() {
21362136
public void deleteAndCleanupUserTestUserCleanup() {
21372137
long userId = userVoMock.getId();
21382138
Mockito.doNothing().when(accountManagerImpl).removeUserApiKeys(userId);
2139-
Mockito.doNothing().when(_projectMgr).cleanupProjectsForUser(null, userVoMock);
2139+
Mockito.doReturn(true).when(_projectMgr).cleanupProjectsForUser(null, userVoMock);
21402140

21412141
accountManagerImpl.deleteAndCleanupUser(userVoMock);
21422142

0 commit comments

Comments
 (0)