Fix unit tests

This commit is contained in:
nvazquez 2024-02-02 12:49:07 -03:00
parent 5752c8f1b6
commit 8021f0cf3c
No known key found for this signature in database
GPG Key ID: 656E1BCC8CB54F84
1 changed files with 0 additions and 2 deletions

View File

@ -440,7 +440,6 @@ public class NsxElementTest {
Network.Service service = new Network.Service("service1", new Network.Capability("capability"));
when(nsxElement.canHandle(networkVO, service)).thenReturn(true);
when(nsxService.addFirewallRules(any(Network.class), any(List.class))).thenReturn(true);
assertTrue(nsxElement.applyNetworkACLs(networkVO, List.of(rule)));
}
@ -457,7 +456,6 @@ public class NsxElementTest {
when(nsxElement.canHandle(networkVO, service)).thenReturn(true);
when(nsxService.deleteFirewallRules(any(Network.class), any(List.class))).thenReturn(true);
when(nsxService.addFirewallRules(any(Network.class), any(List.class))).thenReturn(true);
assertTrue(nsxElement.applyNetworkACLs(networkVO, List.of(rule)));
}