Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/blame/commit/62cea8de5eab178fa77e27668943dc4e42525b17/NzbDrone.Update.Test/StartNzbDroneService.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
using System ;
using System.Diagnostics ;
using Moq ;
using NUnit.Framework ;
using NzbDrone.Common ;
using NzbDrone.Common.EnvironmentInfo ;
using NzbDrone.Test.Common ;
using NzbDrone.Update.UpdateEngine ;
namespace NzbDrone.Update.Test
{
[TestFixture]
public class StartNzbDroneServiceFixture : TestBase < StartNzbDrone >
{
[Test]
public void should_start_service_if_app_type_was_serivce ( )
{
string targetFolder = "c:\\NzbDrone\\" ;
Subject . Start ( AppType . Service , targetFolder ) ;
Mocker . GetMock < Common . IServiceProvider > ( ) . Verify ( c = > c . Start ( ServiceProvider . NZBDRONE_SERVICE_NAME ) , Times . Once ( ) ) ;
}
[Test]
public void should_start_console_if_app_type_was_serivce_but_start_failed_because_of_permissions ( )
{
const string targetFolder = "c:\\NzbDrone\\" ;
Mocker . GetMock < Common . IServiceProvider > ( ) . Setup ( c = > c . Start ( ServiceProvider . NZBDRONE_SERVICE_NAME ) ) . Throws ( new InvalidOperationException ( ) ) ;
Subject . Start ( AppType . Service , targetFolder ) ;
Mocker . GetMock < IProcessProvider > ( ) . Verify ( c = > c . Start ( It . Is < ProcessStartInfo > ( s = >
s . FileName = = "c:\\NzbDrone\\NzbDrone.Console.exe" & &
s . Arguments = = StartupArguments . NO_BROWSER
) ) , Times . Once ( ) ) ;
ExceptionVerification . ExpectedWarns ( 1 ) ;
}
}
}