From 1ef1a6615abfc37f6e7412324541be2d3cf1ae7d Mon Sep 17 00:00:00 2001 From: Gabor Apati-Nagy Date: Thu, 23 Jun 2016 15:33:18 +0100 Subject: [PATCH] CP-17282: Unit tests to validate the Update Sequence logic Signed-off-by: Gabor Apati-Nagy --- .../UnitTests/AlertTests/XenServerPatchAlertTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/XenAdminTests/UnitTests/AlertTests/XenServerPatchAlertTests.cs b/XenAdminTests/UnitTests/AlertTests/XenServerPatchAlertTests.cs index cbd294516..4f2ae9a48 100644 --- a/XenAdminTests/UnitTests/AlertTests/XenServerPatchAlertTests.cs +++ b/XenAdminTests/UnitTests/AlertTests/XenServerPatchAlertTests.cs @@ -55,7 +55,7 @@ namespace XenAdminTests.UnitTests.AlertTests [Test] public void TestAlertWithConnectionAndHosts() { - XenServerPatch p = new XenServerPatch("uuid", "name", "My description", "guidance", "6.0.1", "http://url", "http://patchUrl", new DateTime(2011, 4, 1).ToString(), "", ""); + XenServerPatch p = new XenServerPatch("uuid", "name", "My description", "guidance", "6.0.1", "http://url", "http://patchUrl", new DateTime(2011, 4, 1).ToString(), "", "", string.Empty); XenServerPatchAlert alert = new XenServerPatchAlert(p); alert.IncludeConnection(connA.Object); alert.IncludeConnection(connB.Object); @@ -83,7 +83,7 @@ namespace XenAdminTests.UnitTests.AlertTests [Test] public void TestAlertWithHostsAndNoConnection() { - XenServerPatch p = new XenServerPatch("uuid", "name", "My description", "guidance", "6.0.1", "http://url", "http://patchUrl", new DateTime(2011, 4, 1).ToString(), "1", ""); + XenServerPatch p = new XenServerPatch("uuid", "name", "My description", "guidance", "6.0.1", "http://url", "http://patchUrl", new DateTime(2011, 4, 1).ToString(), "1", "", string.Empty); XenServerPatchAlert alert = new XenServerPatchAlert(p); alert.IncludeHosts(new List() { hostA.Object, hostB.Object }); @@ -109,7 +109,7 @@ namespace XenAdminTests.UnitTests.AlertTests [Test] public void TestAlertWithConnectionAndNoHosts() { - XenServerPatch p = new XenServerPatch("uuid", "name", "My description", "guidance", "6.0.1", "http://url", "http://patchUrl", new DateTime(2011, 4, 1).ToString(), "0", ""); + XenServerPatch p = new XenServerPatch("uuid", "name", "My description", "guidance", "6.0.1", "http://url", "http://patchUrl", new DateTime(2011, 4, 1).ToString(), "0", "", string.Empty); XenServerPatchAlert alert = new XenServerPatchAlert(p); alert.IncludeConnection(connA.Object); alert.IncludeConnection(connB.Object); @@ -136,7 +136,7 @@ namespace XenAdminTests.UnitTests.AlertTests [Test] public void TestAlertWithNoConnectionAndNoHosts() { - XenServerPatch p = new XenServerPatch("uuid", "name", "My description", "guidance", "6.0.1", "http://url", "http://patchUrl", new DateTime(2011, 4, 1).ToString(), "5", ""); + XenServerPatch p = new XenServerPatch("uuid", "name", "My description", "guidance", "6.0.1", "http://url", "http://patchUrl", new DateTime(2011, 4, 1).ToString(), "5", "", string.Empty); XenServerPatchAlert alert = new XenServerPatchAlert(p); IUnitTestVerifier validator = new VerifyGetters(alert);