mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 03:52:33 +02:00
fixed compile issues
This commit is contained in:
parent
9252c5269a
commit
c21ff235b6
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Reflection;
|
||||
using NzbDrone.Core.Annotations;
|
||||
|
||||
|
@ -13,7 +13,7 @@ public class ConfigServiceFixture : DbTest<ConfigService, Config>
|
||||
[SetUp]
|
||||
public void SetUp()
|
||||
{
|
||||
Mocker.Resolve<IConfigRepository, ConfigRepository>();
|
||||
Mocker.SetConstant<IConfigRepository>(Mocker.Resolve<ConfigRepository>());
|
||||
}
|
||||
|
||||
[Test]
|
||||
@ -65,7 +65,7 @@ public void New_value_should_update_old_value_new_value()
|
||||
Subject.SetValue(key, newValue);
|
||||
var result = Subject.GetValue(key, "");
|
||||
|
||||
|
||||
|
||||
result.Should().Be(newValue);
|
||||
AllStoredModels.Should().HaveCount(1);
|
||||
}
|
||||
@ -141,7 +141,7 @@ public void config_properties_should_write_and_read_using_same_key()
|
||||
var allProperties = typeof(ConfigService).GetProperties().Where(p => p.GetSetMethod() != null).ToList();
|
||||
|
||||
|
||||
|
||||
|
||||
foreach (var propertyInfo in allProperties)
|
||||
{
|
||||
object value = null;
|
||||
|
Loading…
Reference in New Issue
Block a user