You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2015/03/17 06:02:42 UTC

git commit: updated refs/heads/4.5 to 31cdb57

Repository: cloudstack
Updated Branches:
  refs/heads/4.5 75da05068 -> 31cdb57e6


Fixed build failure due to commit 843f6b16914159ea6241c6c1a0a04e9d0fefaed4


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/31cdb57e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/31cdb57e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/31cdb57e

Branch: refs/heads/4.5
Commit: 31cdb57e6b5de031d3a3f27c61fe55cf7dfb2d26
Parents: 75da050
Author: Rajani Karuturi <ra...@gmail.com>
Authored: Tue Mar 17 10:08:32 2015 +0530
Committer: Rajani Karuturi <ra...@gmail.com>
Committed: Tue Mar 17 10:32:22 2015 +0530

----------------------------------------------------------------------
 server/test/com/cloud/network/lb/UpdateLoadBalancerTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/31cdb57e/server/test/com/cloud/network/lb/UpdateLoadBalancerTest.java
----------------------------------------------------------------------
diff --git a/server/test/com/cloud/network/lb/UpdateLoadBalancerTest.java b/server/test/com/cloud/network/lb/UpdateLoadBalancerTest.java
index f3a938c..0b67eb7 100644
--- a/server/test/com/cloud/network/lb/UpdateLoadBalancerTest.java
+++ b/server/test/com/cloud/network/lb/UpdateLoadBalancerTest.java
@@ -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);
     }