mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-180128: Fix the tests after adding a call to task.remove_from_other_config in the async action
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
parent
1589f53ac6
commit
f13086bf56
@ -72,6 +72,10 @@ namespace XenAdminTests.XenModelTests
|
|||||||
x =>
|
x =>
|
||||||
x.task_add_to_other_config(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<string>(),
|
x.task_add_to_other_config(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<string>(),
|
||||||
It.IsAny<string>())).Returns(new Response<string>(string.Empty));
|
It.IsAny<string>())).Returns(new Response<string>(string.Empty));
|
||||||
|
mockProxy.Setup(
|
||||||
|
x =>
|
||||||
|
x.task_remove_from_other_config(It.IsAny<string>(), It.IsAny<string>(),
|
||||||
|
It.IsAny<string>())).Returns(new Response<string>(string.Empty));
|
||||||
mockProxy.Setup(x => x.task_get_record(It.IsAny<string>(), It.IsAny<string>())).Returns(
|
mockProxy.Setup(x => x.task_get_record(It.IsAny<string>(), It.IsAny<string>())).Returns(
|
||||||
new Response<Proxy_Task>(new Proxy_Task()
|
new Response<Proxy_Task>(new Proxy_Task()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user