cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject [2/2] git commit: updated refs/heads/master to 47365ac
Date Wed, 03 Sep 2014 00:57:07 GMT
Fix incorrectly written unit tests.

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

Branch: refs/heads/master
Commit: 47365ac4ba8320d1da076e311bab9d2aacb547fb
Parents: 5f7b4db
Author: Min Chen <min.chen@citrix.com>
Authored: Tue Sep 2 17:55:44 2014 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Tue Sep 2 17:55:44 2014 -0700

----------------------------------------------------------------------
 server/test/com/cloud/user/AccountManagerImplTest.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/47365ac4/server/test/com/cloud/user/AccountManagerImplTest.java
----------------------------------------------------------------------
diff --git a/server/test/com/cloud/user/AccountManagerImplTest.java b/server/test/com/cloud/user/AccountManagerImplTest.java
index 176cf1d..5fff331 100644
--- a/server/test/com/cloud/user/AccountManagerImplTest.java
+++ b/server/test/com/cloud/user/AccountManagerImplTest.java
@@ -253,8 +253,8 @@ public class AccountManagerImplTest {
         Mockito.when(_accountDao.findById(42l)).thenReturn(account);
         Mockito.when(
                 securityChecker.checkAccess(Mockito.any(Account.class),
-                        Mockito.any(AccessType.class), Mockito.anyString(),
-                        Mockito.any(ControlledEntity[].class)))
+                    Mockito.any(ControlledEntity.class), Mockito.any(AccessType.class),
+                    Mockito.anyString()))
                 .thenReturn(true);
         Mockito.when(_accountDao.remove(42l)).thenReturn(true);
         Mockito.when(_configMgr.releaseAccountSpecificVirtualRanges(42l))
@@ -279,8 +279,8 @@ public class AccountManagerImplTest {
         Mockito.when(_accountDao.findById(42l)).thenReturn(account);
         Mockito.when(
                 securityChecker.checkAccess(Mockito.any(Account.class),
-                        Mockito.any(AccessType.class), Mockito.anyString(),
-                        Mockito.any(ControlledEntity[].class)))
+                        Mockito.any(ControlledEntity.class), Mockito.any(AccessType.class),
+                        Mockito.anyString()))
                 .thenReturn(true);
         Mockito.when(_accountDao.remove(42l)).thenReturn(true);
         Mockito.when(_configMgr.releaseAccountSpecificVirtualRanges(42l))


Mime
View raw message