Add UUIDs to constructors (fixing syntax error from 2a6c7f3)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #722
This commit is contained in:
Miguel Ferreira 2015-08-20 09:55:55 +02:00 committed by Rohit Yadav
parent 20be6c24f7
commit 82df5b156b

View File

@ -1582,7 +1582,7 @@ public class CitrixRequestWrapperTest {
final VMSnapshotTO snapshotTO = Mockito.mock(VMSnapshotTO.class); final VMSnapshotTO snapshotTO = Mockito.mock(VMSnapshotTO.class);
final List<VolumeObjectTO> volumeTOs = new ArrayList<VolumeObjectTO>(); final List<VolumeObjectTO> volumeTOs = new ArrayList<VolumeObjectTO>();
final CreateVMSnapshotCommand vmSnapshot = new CreateVMSnapshotCommand("Test", snapshotTO, volumeTOs, "Debian"); final CreateVMSnapshotCommand vmSnapshot = new CreateVMSnapshotCommand("Test", "uuid", snapshotTO, volumeTOs, "Debian");
final CitrixRequestWrapper wrapper = CitrixRequestWrapper.getInstance(); final CitrixRequestWrapper wrapper = CitrixRequestWrapper.getInstance();
assertNotNull(wrapper); assertNotNull(wrapper);
@ -1624,7 +1624,7 @@ public class CitrixRequestWrapperTest {
final VMSnapshotTO snapshotTO = Mockito.mock(VMSnapshotTO.class); final VMSnapshotTO snapshotTO = Mockito.mock(VMSnapshotTO.class);
final List<VolumeObjectTO> volumeTOs = new ArrayList<VolumeObjectTO>(); final List<VolumeObjectTO> volumeTOs = new ArrayList<VolumeObjectTO>();
final RevertToVMSnapshotCommand vmSnapshot = new RevertToVMSnapshotCommand("Test", snapshotTO, volumeTOs, "Debian"); final RevertToVMSnapshotCommand vmSnapshot = new RevertToVMSnapshotCommand("Test", "uuid", snapshotTO, volumeTOs, "Debian");
final CitrixRequestWrapper wrapper = CitrixRequestWrapper.getInstance(); final CitrixRequestWrapper wrapper = CitrixRequestWrapper.getInstance();
assertNotNull(wrapper); assertNotNull(wrapper);