mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
[CA-126770],[CA-123737]: Updated further test cases.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
49471b11b7
commit
9731f3f196
@ -184,9 +184,11 @@ namespace XenAdminTests.UnitTests.AlertTests
|
||||
|
||||
hostA = new Mock<Host>(MockBehavior.Strict);
|
||||
hostA.Setup(n => n.Name).Returns("HostAName");
|
||||
hostA.Setup(n => n.Equals(It.IsAny<object>())).Returns((object o) => ReferenceEquals(o, hostA.Object));
|
||||
|
||||
hostB = new Mock<Host>(MockBehavior.Strict);
|
||||
hostB.Setup(n => n.Name).Returns("HostBName");
|
||||
hostB.Setup(n => n.Equals(It.IsAny<object>())).Returns((object o) => ReferenceEquals(o, hostB.Object));
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
|
Loading…
Reference in New Issue
Block a user