mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 21:12:15 -07:00
HttpClient
This commit is contained in:
parent
3a287bf7e7
commit
2c1d3339d0
55 changed files with 995 additions and 582 deletions
|
@ -8,14 +8,12 @@ namespace NzbDrone.Test.Common
|
|||
{
|
||||
public abstract class LoggingTest
|
||||
{
|
||||
protected static Logger TestLogger;
|
||||
protected static readonly Logger TestLogger = LogManager.GetLogger("TestLogger");
|
||||
|
||||
protected static void InitLogging()
|
||||
{
|
||||
new StartupContext();
|
||||
|
||||
TestLogger = LogManager.GetLogger("TestLogger");
|
||||
|
||||
if (LogManager.Configuration == null || LogManager.Configuration is XmlLoggingConfiguration)
|
||||
{
|
||||
LogManager.Configuration = new LoggingConfiguration();
|
||||
|
@ -44,8 +42,6 @@ namespace NzbDrone.Test.Common
|
|||
[TearDown]
|
||||
public void LoggingDownBase()
|
||||
{
|
||||
|
||||
|
||||
//can't use because of a bug in mono with 2.6.2,
|
||||
//https://bugs.launchpad.net/nunitv2/+bug/1076932
|
||||
if (BuildInfo.IsDebug && TestContext.CurrentContext.Result.State == TestState.Success)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue