Skip to content

Commit da85858

Browse files
unit test fix (after merge)
1 parent a8bd02f commit da85858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,7 @@ public void testCreateUserSuccess() {
17041704
Mockito.when(accountMock.getId()).thenReturn(10L);
17051705
Mockito.when(accountMock.getType()).thenReturn(Account.Type.NORMAL);
17061706

1707-
Mockito.when(userAccountDaoMock.validateUsernameInDomain(Mockito.anyString(), Mockito.anyLong())).thenReturn(true);
1707+
Mockito.when(userAccountDao.validateUsernameInDomain(Mockito.anyString(), Mockito.anyLong())).thenReturn(true);
17081708
Mockito.when(userDaoMock.findUsersByName(Mockito.anyString())).thenReturn(Collections.emptyList());
17091709
UserVO createdUser = new UserVO();
17101710
String userMockUUID = "userMockUUID";

0 commit comments

Comments
 (0)