Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/ac465a4f075d4d8c68605a709d02dfbe2c1067e8
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
23 additions and
1 deletions
@ -0,0 +1,18 @@
using System.Net ;
using FluentAssertions ;
using NUnit.Framework ;
namespace NzbDrone.Integration.Test
{
[TestFixture]
public class IndexHtmlIntegrationFixture : IntegrationTest
{
[Test]
public void should_get_index_html ( )
{
var text = new WebClient ( ) . DownloadString ( RootUrl ) ;
text . Should ( ) . NotBeNullOrWhiteSpace ( ) ;
}
}
}
@ -41,6 +41,9 @@ namespace NzbDrone.Integration.Test
private List < SignalRMessage > _signalRReceived ;
private Connection _signalrConnection ;
protected static readonly string RootUrl = "http://localhost:8989/" ;
protected IEnumerable < SignalRMessage > SignalRMessages
{
get
@ -83,7 +86,7 @@ namespace NzbDrone.Integration.Test
private void InitRestClients ( )
{
RestClient = new RestClient ( "http://localhost:8989/api ") ;
RestClient = new RestClient ( RootUrl + "api/ ") ;
Series = new SeriesClient ( RestClient , _runner . ApiKey ) ;
Releases = new ReleaseClient ( RestClient , _runner . ApiKey ) ;
RootFolders = new ClientBase < RootFolderResource > ( RestClient , _runner . ApiKey ) ;
@ -110,6 +110,7 @@
<Compile Include= "EpisodeIntegrationTests.cs" />
<Compile Include= "HistoryIntegrationTest.cs" />
<Compile Include= "IndexerIntegrationFixture.cs" />
<Compile Include= "IndexHtmlIntegrationFixture.cs" />
<Compile Include= "IntegrationTest.cs" />
<Compile Include= "IntegrationTestDirectoryInfo.cs" />
<Compile Include= "NamingConfigTests.cs" />