CP-17099: Fix the usage of IscsiChoiceDialog in the tests

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2018-03-29 13:46:09 +01:00 committed by Konstantina Chremmou
parent fc42be5bee
commit 6d5e8116c4

View File

@ -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);
}
}