From 0ae3f6e2c49de0e758243a08ed8a40e8bdc3f248 Mon Sep 17 00:00:00 2001 From: Gabor Apati-Nagy Date: Wed, 10 Aug 2016 14:01:36 +0100 Subject: [PATCH] CA-217862: Unit test fix to reflect that NULL is expected in this case Signed-off-by: Gabor Apati-Nagy --- .../UnitTests/BatchUpdatesTests/BatchUpdatesTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XenAdminTests/UnitTests/BatchUpdatesTests/BatchUpdatesTests.cs b/XenAdminTests/UnitTests/BatchUpdatesTests/BatchUpdatesTests.cs index 442245d9d..f3f9fc1ce 100644 --- a/XenAdminTests/UnitTests/BatchUpdatesTests/BatchUpdatesTests.cs +++ b/XenAdminTests/UnitTests/BatchUpdatesTests/BatchUpdatesTests.cs @@ -387,7 +387,7 @@ namespace XenAdminTests.UnitTests /// /// Version does not exist - /// Result: update sequence does not have the host + /// Result: update sequence is null /// [Test] public void NoInfoForCurrentVersion() @@ -404,7 +404,7 @@ namespace XenAdminTests.UnitTests // Assert - Assert.NotNull(upgradeSequence); + Assert.Null(upgradeSequence); Assert.AreEqual(0, upgradeSequence.Count); }