test(deployment): WP7 race-delete test asserts the WP1 LogAndSaveAsync audit call (integration fix)

This commit is contained in:
Joseph Doherty
2026-12-03 11:13:59 -05:00
parent d17e736942
commit 18311eb385
@@ -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<object>(o => !o.ToString()!.Contains("SiteRoundTripSkipped")), Arg.Any<CancellationToken>());
}