From 641ed8f77a3c08b6e75b972e2da364fcda89c15e Mon Sep 17 00:00:00 2001 From: Konstantina Chremmou Date: Fri, 1 Dec 2017 12:19:41 +0000 Subject: [PATCH] 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 --- XenAdminTests/UnitTests/AlertTests/MissingIqnAlertTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XenAdminTests/UnitTests/AlertTests/MissingIqnAlertTests.cs b/XenAdminTests/UnitTests/AlertTests/MissingIqnAlertTests.cs index ce992bc04..8fef4c1a1 100644 --- a/XenAdminTests/UnitTests/AlertTests/MissingIqnAlertTests.cs +++ b/XenAdminTests/UnitTests/AlertTests/MissingIqnAlertTests.cs @@ -46,7 +46,7 @@ namespace XenAdminTests.UnitTests.AlertTests validator.Verify(new AlertClassUnitTestData { - AppliesTo = null, + AppliesTo = "", FixLinkText = "Edit IQN", HelpID = "MissingIqnAlert", Description = " has no iSCSI-IQN. This could cause problems with iSCSI storage on this network.",