rohityadavcloud commented on a change in pull request #5879:
URL: https://github.com/apache/cloudstack/pull/5879#discussion_r789558979
##########
File path:
api/src/test/java/org/apache/cloudstack/api/command/admin/account/CreateAccountCmdTest.java
##########
@@ -73,7 +73,7 @@ public void testExecuteWithNotBlankPassword() {
} catch (ServerApiException e) {
Assert.assertTrue("Received exception as the mock accountService
createUserAccount returns null user", true);
}
- Mockito.verify(accountService,
Mockito.times(1)).createUserAccount(null, "Test", null, null, null, null, null,
accountType, roleId, domainId, null, null, null, null);
+ Mockito.verify(accountService,
Mockito.times(1)).createUserAccount(createAccountCmd);
Review comment:
in setUp(), should we set the roleId field too?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]