mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-217862: Unit test fix
to reflect that NULL is expected in this case Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
9f7a635da1
commit
0ae3f6e2c4
@ -387,7 +387,7 @@ namespace XenAdminTests.UnitTests
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Version does not exist
|
/// Version does not exist
|
||||||
/// Result: update sequence does not have the host
|
/// Result: update sequence is null
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Test]
|
[Test]
|
||||||
public void NoInfoForCurrentVersion()
|
public void NoInfoForCurrentVersion()
|
||||||
@ -404,7 +404,7 @@ namespace XenAdminTests.UnitTests
|
|||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
|
|
||||||
Assert.NotNull(upgradeSequence);
|
Assert.Null(upgradeSequence);
|
||||||
Assert.AreEqual(0, upgradeSequence.Count);
|
Assert.AreEqual(0, upgradeSequence.Count);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user