Updated unit test: AppliesTo is filled from the host's name, which in this case

is the name_label's default value. The default value is now taken from the API
and it is an empty string rather than null.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
Konstantina Chremmou 2017-12-01 12:19:41 +00:00
parent f891ac51a0
commit 641ed8f77a

View File

@ -46,7 +46,7 @@ namespace XenAdminTests.UnitTests.AlertTests
validator.Verify(new AlertClassUnitTestData validator.Verify(new AlertClassUnitTestData
{ {
AppliesTo = null, AppliesTo = "",
FixLinkText = "Edit IQN", FixLinkText = "Edit IQN",
HelpID = "MissingIqnAlert", HelpID = "MissingIqnAlert",
Description = " has no iSCSI-IQN. This could cause problems with iSCSI storage on this network.", Description = " has no iSCSI-IQN. This could cause problems with iSCSI storage on this network.",