mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 19:50:15 -07:00
Some test cleanup
This commit is contained in:
parent
633f0b6197
commit
82b6ec5ed4
5 changed files with 63 additions and 64 deletions
|
@ -1,5 +1,6 @@
|
|||
using System.IO;
|
||||
using AutoMoq;
|
||||
using Moq;
|
||||
using NUnit.Framework;
|
||||
using Ninject;
|
||||
using NzbDrone.Common;
|
||||
|
@ -10,7 +11,6 @@ namespace NzbDrone.Core.Test.Framework
|
|||
public class TestBase : LoggingTest
|
||||
// ReSharper disable InconsistentNaming
|
||||
{
|
||||
|
||||
static TestBase()
|
||||
{
|
||||
InitLogging();
|
||||
|
@ -57,10 +57,16 @@ namespace NzbDrone.Core.Test.Framework
|
|||
Mocker = new AutoMoqer();
|
||||
}
|
||||
|
||||
protected void WithStrictMocker()
|
||||
{
|
||||
Mocker = new AutoMoqer(MockBehavior.Strict);
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
public void TearDownBase()
|
||||
{
|
||||
ExceptionVerification.AssertNoUnexcpectedLogs();
|
||||
Mocker = new AutoMoqer(MockBehavior.Strict);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue