[TearDown] added

This commit is contained in:
Artemy
2025-11-04 11:51:37 +07:00
parent c720ae3667
commit c462d065f4
9 changed files with 60 additions and 0 deletions
@@ -112,6 +112,13 @@ public class OnlinePingingControllerTests
_loggerMock.VerifyLog(LogLevel.Error, exception.Message, Times.Once());
_pingHandlerServiceMock.Verify(x => x.Ping(It.IsAny<Guid>()), Times.Never());
}
[TearDown]
public void TearDown()
{
_controller?.Dispose();
}
}
// Helper extension for verifying logger calls