1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed test reference

This commit is contained in:
Mark McDowall 2014-03-14 03:23:28 -07:00
parent 01d3decf7e
commit eeac2aee89
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
namespace NzbDrone.Core.Test.HealthCheck.Checks
{
[TestFixture]
public class MonoVersionCheckFixture : CoreTest<DownloadClientCheck>
public class MonoVersionCheckFixture : CoreTest<MonoVersionCheck>
{
[SetUp]
public void Setup()

View File

@ -6,13 +6,13 @@
namespace NzbDrone.Core.HealthCheck.Checks
{
public class MonoVersionnCheck : IProvideHealthCheck
public class MonoVersionCheck : IProvideHealthCheck
{
private readonly IProcessProvider _processProvider;
private readonly Logger _logger;
private static readonly Regex VersionRegex = new Regex(@"(?<=\W)(?<version>\d+\.\d+\.\d+\.\d+)(?=\W)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
public MonoVersionnCheck(IProcessProvider processProvider, Logger logger)
public MonoVersionCheck(IProcessProvider processProvider, Logger logger)
{
_processProvider = processProvider;
_logger = logger;

View File

@ -268,7 +268,7 @@
<Compile Include="Exceptions\StatusCodeToExceptions.cs" />
<Compile Include="HealthCheck\CheckHealthCommand.cs" />
<Compile Include="HealthCheck\Checks\DownloadClientCheck.cs" />
<Compile Include="HealthCheck\Checks\MonoVersionnCheck.cs" />
<Compile Include="HealthCheck\Checks\MonoVersionCheck.cs" />
<Compile Include="HealthCheck\Checks\DroneFactoryCheck.cs" />
<Compile Include="HealthCheck\Checks\IndexerCheck.cs" />
<Compile Include="HealthCheck\Checks\UpdateCheck.cs" />