mirror of https://github.com/apache/cloudstack.git
Fixed build failure due to commit 843f6b1691
(cherry picked from commit 31cdb57e6b)
This commit is contained in:
parent
b6eace03e4
commit
e4fe7b3bbc
|
|
@ -24,6 +24,7 @@ import static org.mockito.Mockito.when;
|
|||
import java.util.ArrayList;
|
||||
import java.util.UUID;
|
||||
|
||||
import com.cloud.user.User;
|
||||
import org.apache.cloudstack.api.command.user.loadbalancer.UpdateLoadBalancerRuleCmd;
|
||||
import org.apache.cloudstack.context.CallContext;
|
||||
import org.junit.After;
|
||||
|
|
@ -84,7 +85,7 @@ public class UpdateLoadBalancerTest {
|
|||
updateLbRuleCmd = new UpdateLoadBalancerRuleCmd();
|
||||
|
||||
AccountVO account = new AccountVO(accountName, domainId, "networkDomain", Account.ACCOUNT_TYPE_NORMAL, "uuid");
|
||||
UserVO user = new UserVO(1, "testuser", "password", "firstname", "lastName", "email", "timezone", UUID.randomUUID().toString());
|
||||
UserVO user = new UserVO(1, "testuser", "password", "firstname", "lastName", "email", "timezone", UUID.randomUUID().toString(), User.Source.UNKNOWN);
|
||||
CallContext.register(user, account);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue