Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/23a30f3771803fa19a9279ddc19877cc98050ef8
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
8 additions and
3 deletions
@ -44,7 +44,7 @@ namespace NzbDrone.Core.Test.Download
Mocker . GetMock < IProvideDownloadClient > ( )
. Setup ( c = > c . GetDownloadClients ( ) )
. Returns ( new IDownloadClient [ ] { Mocker . GetMock < IDownloadClient > ( ) . Object } ) ;
. Returns ( new [ ] { Mocker . GetMock < IDownloadClient > ( ) . Object } ) ;
Mocker . GetMock < IDownloadClient > ( )
. SetupGet ( c = > c . Definition )
@ -1,20 +1,23 @@
using System.Linq ;
using NLog ;
using NLog.Config ;
using NLog.Targets ;
using NUnit.Framework ;
using NzbDrone.Common.EnvironmentInfo ;
using NzbDrone.Common.Extensions ;
using NzbDrone.Common.Instrumentation ;
namespace NzbDrone.Test.Common
{
public abstract class LoggingTest
{
protected static readonly Logger TestLogger = LogMana ger. GetLogger ( "TestLogger" ) ;
protected static readonly Logger TestLogger = NzbDrone Logger. GetLogger ( "TestLogger" ) ;
protected static void InitLogging ( )
{
new StartupContext ( ) ;
if ( LogManager . Configuration = = null | | LogManager . Configuration is XmlLoggingConfiguration )
if ( LogManager . Configuration = = null | | LogManager . Configuration . AllTargets . None ( c = > c is ExceptionVerification ) )
{
LogManager . Configuration = new LoggingConfiguration ( ) ;
var consoleTarget = new ConsoleTarget { Layout = "${level}: ${message} ${exception}" } ;
@ -22,6 +25,8 @@ namespace NzbDrone.Test.Common
LogManager . Configuration . LoggingRules . Add ( new LoggingRule ( "*" , LogLevel . Trace , consoleTarget ) ) ;
RegisterExceptionVerification ( ) ;
LogManager . ReconfigExistingLoggers ( ) ;
}
}