Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/e8e0e8e5dcfed37d30fb1a5ba57ba0279a054d13
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
15 additions and
1 deletions
@ -46,6 +46,15 @@ namespace NzbDrone.Core.Test.ProviderTests
series . First ( ) . SeasonFolder . Should ( ) . Be ( useSeasonFolder ) ;
}
[TestCase(0)]
[TestCase(-1)]
public void add_series_should_fail_if_series_is_less_than_zero ( int seriesId )
{
WithRealDb ( ) ;
Assert . Throws < ArgumentOutOfRangeException > ( ( ) = > Mocker . Resolve < SeriesProvider > ( ) . AddSeries ( "C:\\Test" , seriesId , 1 ) ) ;
}
[Test]
public void find_series_empty_repo ( )
{
@ -50,7 +50,7 @@ namespace NzbDrone.Core.Jobs
}
else
{
seriesToUpdate = new List < Series > ( ) { _seriesProvider . GetSeries ( targetId ) } ;
seriesToUpdate = new List < Series > { _seriesProvider . GetSeries ( targetId ) } ;
}
//Update any Daily Series in the DB with the IsDaily flag
@ -104,6 +104,11 @@ namespace NzbDrone.Core.Providers
{
Logger . Info ( "Adding Series [{0}] Path: [{1}]" , tvDbSeriesId , path ) ;
if ( tvDbSeriesId < = 0 )
{
throw new ArgumentOutOfRangeException ( "tvDbSeriesId" , tvDbSeriesId . ToString ( ) ) ;
}
var repoSeries = new Series ( ) ;
repoSeries . SeriesId = tvDbSeriesId ;
repoSeries . Path = path ;