Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/67b617b950df7b5107dd7d9618475a0f60ba297a
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
8 additions and
13 deletions
@ -13,17 +13,18 @@ using SubSonic.Repository;
namespace NzbDrone.Core.Test
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class DbConfigControllerTest
{
[Test]
public void Overwrite_existing_value ( )
{
S tring key = "MY_KEY" ;
S tring value = "MY_VALUE" ;
const s tring key = "MY_KEY" ;
const s tring value = "MY_VALUE" ;
// setup
// Arrange
var repo = new Mock < IRepository > ( ) ;
var config = new Config ( ) { Key = key , Value = value } ;
var config = new Config { Key = key , Value = value } ;
repo . Setup ( r = > r . Single < Config > ( key ) ) . Returns ( config ) ;
var target = new DbConfigController ( new Mock < ILog > ( ) . Object , repo . Object ) ;
@ -38,12 +39,11 @@ namespace NzbDrone.Core.Test
[Test]
public void Add_new_value ( )
{
S tring key = "MY_KEY" ;
S tring value = "MY_VALUE" ;
const s tring key = "MY_KEY" ;
const s tring value = "MY_VALUE" ;
// setup
// Arrange
var repo = new Mock < IRepository > ( ) ;
var config = new Config ( ) { Key = key , Value = value } ;
repo . Setup ( r = > r . Single < Config > ( It . IsAny < string > ( ) ) ) . Returns < Config > ( null ) . Verifiable ( ) ;
var target = new DbConfigController ( new Mock < ILog > ( ) . Object , repo . Object ) ;
@ -1,6 +1,5 @@
using System.Web.Mvc ;
using System.Web.Routing ;
using log4net ;
using Ninject ;
using Ninject.Web.Mvc ;
using NzbDrone.Core ;
@ -34,10 +34,6 @@
<WarningLevel > 4</WarningLevel>
</PropertyGroup>
<ItemGroup >
<Reference Include= "log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\SABSync\References\log4net.dll</HintPath>
</Reference>
<Reference Include= "Ninject, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\NzbDrone.Core\Libraries\Ninject.dll</HintPath>