Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/797f2fcacc96b843da078a352336167dbb4980e1
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
29 additions and
23 deletions
@ -1,22 +0,0 @@
using NzbDrone.Core.Indexers ;
using NzbDrone.Core.Indexers.Nzbx ;
using NzbDrone.Core.Test.Framework ;
using NUnit.Framework ;
namespace NzbDrone.Core.Test.IndexerTests.IntegerationTests
{
public class NzbxIntegerationTests : CoreTest < FetchFeedService >
{
[Test]
public void should_be_able_to_fetch_rss ( )
{
UseRealHttp ( ) ;
var indexer = new Nzbx ( ) ;
Subject . FetchRss ( indexer ) ;
}
}
}
@ -0,0 +1,28 @@
using FluentAssertions ;
using NzbDrone.Core.Indexers ;
using NzbDrone.Core.Indexers.Nzbx ;
using NzbDrone.Core.Test.Framework ;
using NUnit.Framework ;
namespace NzbDrone.Core.Test.IndexerTests.IntegrationTests
{
public class NzbxIntegrationTests : CoreTest < FetchFeedService >
{
[Test]
public void should_be_able_to_fetch_rss ( )
{
UseRealHttp ( ) ;
var indexer = new Nzbx ( ) ;
var result = Subject . FetchRss ( indexer ) ;
result . Should ( ) . NotBeEmpty ( ) ;
result . Should ( ) . OnlyContain ( c = > ! string . IsNullOrWhiteSpace ( c . Title ) ) ;
result . Should ( ) . OnlyContain ( c = > ! string . IsNullOrWhiteSpace ( c . NzbInfoUrl ) ) ;
result . Should ( ) . OnlyContain ( c = > ! string . IsNullOrWhiteSpace ( c . NzbUrl ) ) ;
result . Should ( ) . OnlyContain ( c = > c . Size > 0 ) ;
}
}
}
@ -132,7 +132,7 @@
<Compile Include= "Framework\NBuilderExtensions.cs" />
<Compile Include= "IndexerSearchTests\SearchDefinitionFixture.cs" />
<Compile Include= "IndexerTests\BasicRssParserFixture.cs" />
<Compile Include= "IndexerTests\Integ e rationTests\NzbxIntegerationTests.cs" />
<Compile Include= "IndexerTests\Integ rationTests\NzbxIntegerationTests.cs" />
<Compile Include= "IndexerTests\ParserTests\NzbxParserFixture.cs" />
<Compile Include= "JobTests\JobRepositoryFixture.cs" />
<Compile Include= "JobTests\RenameSeasonJobFixture.cs" />