mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 05:45:31 +02:00
DB log target is removed after test/app shutdown
This commit is contained in:
@@ -109,6 +109,13 @@ namespace NzbDrone.Core.Test.InstrumentationTests
|
||||
epFile.Path.Should().BeNull();
|
||||
}
|
||||
|
||||
|
||||
[TearDown]
|
||||
public void Teardown()
|
||||
{
|
||||
Mocker.Resolve<DatabaseTarget>().UnRegister();
|
||||
}
|
||||
|
||||
private void VerifyLog(Log logItem, LogLevel level)
|
||||
{
|
||||
logItem.Time.Should().BeWithin(TimeSpan.FromSeconds(2));
|
||||
|
Reference in New Issue
Block a user