From 82df5b156b7c941664e24131fc5d40f378edde9b Mon Sep 17 00:00:00 2001 From: Miguel Ferreira Date: Thu, 20 Aug 2015 09:55:55 +0200 Subject: [PATCH] Add UUIDs to constructors (fixing syntax error from 2a6c7f3) Signed-off-by: Rohit Yadav This closes #722 --- .../resource/wrapper/xenbase/CitrixRequestWrapperTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/hypervisors/xenserver/test/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixRequestWrapperTest.java b/plugins/hypervisors/xenserver/test/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixRequestWrapperTest.java index 79d4af5b067..34cf7f635ed 100644 --- a/plugins/hypervisors/xenserver/test/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixRequestWrapperTest.java +++ b/plugins/hypervisors/xenserver/test/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixRequestWrapperTest.java @@ -1582,7 +1582,7 @@ public class CitrixRequestWrapperTest { final VMSnapshotTO snapshotTO = Mockito.mock(VMSnapshotTO.class); final List volumeTOs = new ArrayList(); - final CreateVMSnapshotCommand vmSnapshot = new CreateVMSnapshotCommand("Test", snapshotTO, volumeTOs, "Debian"); + final CreateVMSnapshotCommand vmSnapshot = new CreateVMSnapshotCommand("Test", "uuid", snapshotTO, volumeTOs, "Debian"); final CitrixRequestWrapper wrapper = CitrixRequestWrapper.getInstance(); assertNotNull(wrapper); @@ -1624,7 +1624,7 @@ public class CitrixRequestWrapperTest { final VMSnapshotTO snapshotTO = Mockito.mock(VMSnapshotTO.class); final List volumeTOs = new ArrayList(); - final RevertToVMSnapshotCommand vmSnapshot = new RevertToVMSnapshotCommand("Test", snapshotTO, volumeTOs, "Debian"); + final RevertToVMSnapshotCommand vmSnapshot = new RevertToVMSnapshotCommand("Test", "uuid", snapshotTO, volumeTOs, "Debian"); final CitrixRequestWrapper wrapper = CitrixRequestWrapper.getInstance(); assertNotNull(wrapper);