mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
DB log target is removed after test/app shutdown
This commit is contained in:
parent
c80202bec3
commit
c48ce4d9e0
2 changed files with 32 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue