mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
Merge pull request #1143 from GaborApatiNagy/master
CP-18014: Fixed PatchingWizardModeGuidanceBuilderTests
This commit is contained in:
commit
e374ac2d12
@ -72,6 +72,7 @@ namespace XenAdminTests.WizardTests
|
||||
host = ObjectManager.NewXenObject<Host>(id);
|
||||
host.Setup(h => h.IsMaster()).Returns(true);
|
||||
host.Setup(h => h.Name).Returns("MyHost");
|
||||
host.Setup(h => h.uuid).Returns("MyHostUUID");
|
||||
patch.Setup(p => p.after_apply_guidance).Returns(new List<after_apply_guidance> { guidance });
|
||||
msg = PatchingWizardModeGuidanceBuilder.ModeRetailPatch(new List<Host> { host.Object }, patch.Object, new Dictionary<string,LivePatchCode>());
|
||||
return patch;
|
||||
|
Loading…
Reference in New Issue
Block a user