mirror of https://github.com/apache/cloudstack.git
Fixed unit tests based on recent changes in the Vnmc resource code
This commit is contained in:
parent
f166f2d0bf
commit
735c4c8955
|
|
@ -48,14 +48,14 @@ public class DeleteCiscoVnmcResourceCmd extends BaseCmd {
|
|||
/////////////////////////////////////////////////////
|
||||
|
||||
@Parameter(name=ApiConstants.RESOURCE_ID, type=CommandType.UUID, required=true, entityType=CiscoVnmcResourceResponse.class, description="Cisco Vnmc resource ID")
|
||||
private Long CiscoVnmcResourceId;
|
||||
private Long ciscoVnmcResourceId;
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
/////////////////// Accessors ///////////////////////
|
||||
/////////////////////////////////////////////////////
|
||||
|
||||
public Long getCiscoVnmcResourceId() {
|
||||
return CiscoVnmcResourceId;
|
||||
return ciscoVnmcResourceId;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ public class CiscoVnmcResourceTest {
|
|||
anyString(), anyString(), anyString())).thenReturn(true);
|
||||
when(_connection.createTenantVDCAclRuleForDNat(anyString(),
|
||||
anyString(), anyString(), anyString())).thenReturn(true);
|
||||
when(_connection.associateNatPolicySet(anyString())).thenReturn(true);
|
||||
when(_connection.associateAclPolicySet(anyString())).thenReturn(true);
|
||||
|
||||
Answer answer = _resource.executeRequest(cmd);
|
||||
System.out.println(answer.getDetails());
|
||||
|
|
@ -253,7 +253,7 @@ public class CiscoVnmcResourceTest {
|
|||
when(_connection.createTenantVDCAclRuleForPF(anyString(),
|
||||
anyString(), anyString(), anyString(),
|
||||
anyString(), anyString(), anyString())).thenReturn(true);
|
||||
when(_connection.associateNatPolicySet(anyString())).thenReturn(true);
|
||||
when(_connection.associateAclPolicySet(anyString())).thenReturn(true);
|
||||
|
||||
Answer answer = _resource.executeRequest(cmd);
|
||||
System.out.println(answer.getDetails());
|
||||
|
|
|
|||
Loading…
Reference in New Issue