Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/59fda16298d8746b2b6024505e5f1ecf4e5673f2
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
4 additions and
4 deletions
@ -43,28 +43,28 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
[Test]
public void should_be_true_when_allowedReleaseGroups_is_empty ( )
{
Mocker . GetMock < IConfigService > ( ) . SetupGet ( s = > s . AllowedReleaseGroups ) . Returns ( String . Empty ) ;
//Mocker.GetMock<IConfigService>().SetupGet(s => s.AllowedReleaseGroups).Returns(String.Empty) ;
Mocker . Resolve < AllowedReleaseGroupSpecification > ( ) . IsSatisfiedBy ( parseResult ) . Should ( ) . BeTrue ( ) ;
}
[Test]
public void should_be_true_when_allowedReleaseGroups_is_nzbs_releaseGroup ( )
{
Mocker . GetMock < IConfigService > ( ) . SetupGet ( s = > s . AllowedReleaseGroups ) . Returns ( "2HD" ) ;
//Mocker.GetMock<IConfigService>().SetupGet(s => s.AllowedReleaseGroups).Returns("2HD") ;
Mocker . Resolve < AllowedReleaseGroupSpecification > ( ) . IsSatisfiedBy ( parseResult ) . Should ( ) . BeTrue ( ) ;
}
[Test]
public void should_be_true_when_allowedReleaseGroups_contains_nzbs_releaseGroup ( )
{
Mocker . GetMock < IConfigService > ( ) . SetupGet ( s = > s . AllowedReleaseGroups ) . Returns ( "2HD, LOL" ) ;
//Mocker.GetMock<IConfigService>().SetupGet(s => s.AllowedReleaseGroups).Returns("2HD, LOL") ;
Mocker . Resolve < AllowedReleaseGroupSpecification > ( ) . IsSatisfiedBy ( parseResult ) . Should ( ) . BeTrue ( ) ;
}
[Test]
public void should_be_false_when_allowedReleaseGroups_does_not_contain_nzbs_releaseGroup ( )
{
Mocker . GetMock < IConfigService > ( ) . SetupGet ( s = > s . AllowedReleaseGroups ) . Returns ( "LOL,DTD" ) ;
//Mocker.GetMock<IConfigService>().SetupGet(s => s.AllowedReleaseGroups).Returns("LOL,DTD") ;
Mocker . Resolve < AllowedReleaseGroupSpecification > ( ) . IsSatisfiedBy ( parseResult ) . Should ( ) . BeFalse ( ) ;
}
}