Commit dc33acce authored by aninhacostaribeiro's avatar aninhacostaribeiro
Browse files

Updated the tests of openStack info plugin.

parent 2a7b6453
......@@ -50,8 +50,7 @@ public class TestOpenStackPlugin {
private OpenStackInfoPlugin createMockPlugin(final List<Hypervisor> hvs,
final List<AvailabilityZone> zones) {
OSClient osClient = createOSClientMock(new LinkedList<Hypervisor>(),
new LinkedList<AvailabilityZone>());
OSClient osClient = createOSClientMock(hvs, zones);
OpenStackInfoPlugin plugin = Mockito.spy(new OpenStackInfoPlugin(null, null, null, null));
Mockito.doReturn(osClient).when(plugin).os();
return plugin;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment