Skip to content

Commit 31cdb57

Browse files
committed
Fixed build failure due to commit 843f6b1
1 parent 75da050 commit 31cdb57

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎server/test/com/cloud/network/lb/UpdateLoadBalancerTest.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import java.util.ArrayList;
2525
import java.util.UUID;
2626

27+
import com.cloud.user.User;
2728
import org.apache.cloudstack.api.command.user.loadbalancer.UpdateLoadBalancerRuleCmd;
2829
import org.apache.cloudstack.context.CallContext;
2930
import org.junit.After;
@@ -84,7 +85,7 @@ public void setUp() {
8485
updateLbRuleCmd = new UpdateLoadBalancerRuleCmd();
8586

8687
AccountVO account = new AccountVO(accountName, domainId, "networkDomain", Account.ACCOUNT_TYPE_NORMAL, "uuid");
87-
UserVO user = new UserVO(1, "testuser", "password", "firstname", "lastName", "email", "timezone", UUID.randomUUID().toString());
88+
UserVO user = new UserVO(1, "testuser", "password", "firstname", "lastName", "email", "timezone", UUID.randomUUID().toString(), User.Source.UNKNOWN);
8889
CallContext.register(user, account);
8990
}
9091

0 commit comments

Comments
 (0)