test(deployment): WP7 race-delete test asserts the WP1 LogAndSaveAsync audit call (integration fix)
This commit is contained in:
@@ -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>());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user