Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/7dd573163365a9aa5c256fa331c43faee6bb53c2
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
25 additions and
1 deletions
@ -1,6 +1,5 @@
using System ;
using System.Collections.Generic ;
using FluentAssertions ;
using NUnit.Framework ;
using NzbDrone.Common.Processes ;
using NzbDrone.Core.HealthCheck.Checks ;
@ -78,5 +77,30 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
Subject . Check ( ) . ShouldBeOk ( ) ;
}
[Test]
public void should_return_ok_when_mono_3_6_1 ( )
{
GivenOutput ( "3.6.1" ) ;
Subject . Check ( ) . ShouldBeOk ( ) ;
}
[Test]
public void should_return_ok_when_mono_3_6_1_with_custom_output ( )
{
Mocker . GetMock < IProcessProvider > ( )
. Setup ( s = > s . StartAndCapture ( "mono" , "--version" ) )
. Returns ( new ProcessOutput
{
Standard = new List < string >
{
"Mono JIT compiler version 3.6.1 (master/fce3972 Fri Jul 4 01:12:43 CEST 2014)" ,
"Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com"
}
} ) ;
Subject . Check ( ) . ShouldBeOk ( ) ;
}
}
}