Repository: cloudstack
Updated Branches:
  refs/heads/master 0f489732c -> 83bef7839


Fixed unittest


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

Branch: refs/heads/master
Commit: 83bef783904986a9535427a4c4feda827cef2f71
Parents: 0f48973
Author: Alena Prokharchyk <[email protected]>
Authored: Fri Feb 21 14:29:00 2014 -0800
Committer: Alena Prokharchyk <[email protected]>
Committed: Fri Feb 21 14:29:00 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/83bef783/server/test/com/cloud/vpc/NetworkACLServiceTest.java
----------------------------------------------------------------------
diff --git a/server/test/com/cloud/vpc/NetworkACLServiceTest.java 
b/server/test/com/cloud/vpc/NetworkACLServiceTest.java
index 42a21f8..5361639 100644
--- a/server/test/com/cloud/vpc/NetworkACLServiceTest.java
+++ b/server/test/com/cloud/vpc/NetworkACLServiceTest.java
@@ -171,7 +171,8 @@ public class NetworkACLServiceTest extends TestCase {
         
Mockito.when(_networkAclMgr.getNetworkACL(Matchers.anyLong())).thenReturn(acl);
         Mockito.when(
             _networkAclMgr.createNetworkACLItem(Matchers.anyInt(), 
Matchers.anyInt(), Matchers.anyString(), Matchers.anyList(), Matchers.anyInt(), 
Matchers.anyInt(),
-                        Matchers.any(NetworkACLItem.TrafficType.class), 
Matchers.anyLong(), Matchers.anyString(), Matchers.anyInt(), 
true)).thenReturn(new NetworkACLItemVO());
+                        Matchers.any(NetworkACLItem.TrafficType.class), 
Matchers.anyLong(), Matchers.anyString(), Matchers.anyInt(), 
Matchers.anyBoolean())).thenReturn(
+                new NetworkACLItemVO());
         Mockito.when(_networkACLItemDao.findByAclAndNumber(Matchers.anyLong(), 
Matchers.anyInt())).thenReturn(null);
         assertNotNull(_aclService.createNetworkACLItem(createACLItemCmd));
     }

Reply via email to