From 18311eb385120dface94b1634fe9e4ee676456a5 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Thu, 3 Dec 2026 11:13:59 -0500 Subject: [PATCH] test(deployment): WP7 race-delete test asserts the WP1 LogAndSaveAsync audit call (integration fix) --- .../DeploymentServiceTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ZB.MOM.WW.ScadaBridge.DeploymentManager.Tests/DeploymentServiceTests.cs b/tests/ZB.MOM.WW.ScadaBridge.DeploymentManager.Tests/DeploymentServiceTests.cs index 2496be98..0ddd0399 100644 --- a/tests/ZB.MOM.WW.ScadaBridge.DeploymentManager.Tests/DeploymentServiceTests.cs +++ b/tests/ZB.MOM.WW.ScadaBridge.DeploymentManager.Tests/DeploymentServiceTests.cs @@ -1384,7 +1384,7 @@ public class DeploymentServiceTests : TestKit var result = await service.DeleteInstanceAsync(81, "admin"); Assert.True(result.IsSuccess); - await _audit.Received().LogAsync( + await _audit.Received().LogAndSaveAsync( "admin", "Delete", "Instance", "81", "RaceDelete", Arg.Is(o => !o.ToString()!.Contains("SiteRoundTripSkipped")), Arg.Any()); }