From 6d5e8116c43a04fc5390f5463fa8c9214fed08a4 Mon Sep 17 00:00:00 2001 From: Mihaela Stoica Date: Thu, 29 Mar 2018 13:46:09 +0100 Subject: [PATCH] CP-17099: Fix the usage of IscsiChoiceDialog in the tests Signed-off-by: Mihaela Stoica --- XenAdminTests/DialogTests/DialogsForConnection.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/XenAdminTests/DialogTests/DialogsForConnection.cs b/XenAdminTests/DialogTests/DialogsForConnection.cs index 36a27e7c2..8b18eb0a8 100644 --- a/XenAdminTests/DialogTests/DialogsForConnection.cs +++ b/XenAdminTests/DialogTests/DialogsForConnection.cs @@ -36,6 +36,7 @@ using NUnit.Framework; using XenAdmin.Dialogs; using XenAdmin.Network; using XenAdmin.Wizards.NewVMWizard; +using XenAPI; namespace XenAdminTests.DialogTests.state1_xml.DialogsForConnection { @@ -113,7 +114,7 @@ namespace XenAdminTests.DialogTests.state1_xml.DialogsForConnection protected override IscsiChoicesDialog NewDialog() { XenAPI.SR.SRInfo srinfo = new XenAPI.SR.SRInfo("1234-5678-9012-3456", 200000000000); - return new IscsiChoicesDialog(GetAnyConnection(), srinfo); + return new IscsiChoicesDialog(GetAnyConnection(), srinfo, SR.SRTypes.lvmoiscsi, SR.SRTypes.lvmoiscsi); } }