Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/be651660a43fc4f1aaa6a53c624ddaf396a8d9d4
You should set ROOT_URL correctly, otherwise the web may not work correctly.
9 changed files with
17 additions and
8 deletions
@ -9,7 +9,7 @@ using NzbDrone.Providers;
namespace NzbDrone.App.Test
{
[TestFixture]
public class Enviroment Controll erTest
public class Enviroment Provid erTest
{
[Test]
@ -72,11 +72,11 @@
<Compile Include= "AutoMoq\AutoMoqerTest.cs" />
<Compile Include= "AutoMoq\Unity\AutoMockingBuilderStrategy.cs" />
<Compile Include= "AutoMoq\Unity\AutoMockingContainerExtension.cs" />
<Compile Include= " Application Test.cs" />
<Compile Include= " MonitoringProvider Test.cs" />
<Compile Include= "ConfigProviderTest.cs" />
<Compile Include= "IISProviderTest.cs" />
<Compile Include= "ProcessProviderTests.cs" />
<Compile Include= "Enviroment Controll erTest.cs" />
<Compile Include= "Enviroment Provid erTest.cs" />
<Compile Include= "ServiceControllerTests.cs" />
<Compile Include= "Properties\AssemblyInfo.cs" />
</ItemGroup>
@ -43,6 +43,14 @@ namespace NzbDrone.App.Test
dummyProcess . HasExited . Should ( ) . BeTrue ( ) ;
}
[TestCase(0)]
[TestCase(-1)]
[TestCase(9999)]
public void GetProcessById_should_return_null_for_invalid_process ( int processId )
{
_processProvider . GetProcessById ( processId ) . Should ( ) . BeNull ( ) ;
}
public Process StartDummyProcess ( )
{
@ -50,5 +50,5 @@ using System.Runtime.InteropServices;
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0. 5 .0.*")]
[assembly: AssemblyVersion("0. 6 .0.*")]
[assembly: InternalsVisibleTo("NzbDrone.Core.Test")]
@ -34,4 +34,4 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("0. 5 .0.*")]
[assembly: AssemblyVersion("0. 6 .0.*")]
@ -1,4 +1,5 @@
using System ;
using System.Reflection ;
using NLog ;
using Ninject ;
using NzbDrone.Providers ;
@ -25,7 +26,7 @@ namespace NzbDrone
Kernel . Bind < ServiceProvider > ( ) . ToSelf ( ) . InSingletonScope ( ) ;
Kernel . Bind < WebClientProvider > ( ) . ToSelf ( ) . InSingletonScope ( ) ;
Console . WriteLine ( "Starting Console.") ;
Console . WriteLine ( "Starting NzbDrone Console. Version " + Assembly . GetExecutingAssembly ( ) . GetName ( ) . Version ) ;
Kernel . Get < MonitoringProvider > ( ) . Start ( ) ;
Kernel . Get < Application > ( ) . Start ( ) ;
}
@ -36,4 +36,4 @@ using System.Runtime.InteropServices;
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0. 5 .0.*")]
[assembly: AssemblyVersion("0. 6 .0.*")]
@ -73,7 +73,7 @@ namespace NzbDrone.Providers
private static ProcessInfo ConvertToProcessInfo ( Process process )
{
if ( process = = null ) return null ;
if ( process = = null | | process . Id < = 0 ) return null ;
return new ProcessInfo
{