mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
fixed some broken tests.
This commit is contained in:
parent
554924a522
commit
a98d792c0d
30 changed files with 60 additions and 60 deletions
|
@ -38,22 +38,22 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
|
|||
|
||||
private void WithUnlimitedRetention()
|
||||
{
|
||||
Mocker.GetMock<ConfigService>().SetupGet(c => c.Retention).Returns(0);
|
||||
Mocker.GetMock<IConfigService>().SetupGet(c => c.Retention).Returns(0);
|
||||
}
|
||||
|
||||
private void WithLongRetention()
|
||||
{
|
||||
Mocker.GetMock<ConfigService>().SetupGet(c => c.Retention).Returns(1000);
|
||||
Mocker.GetMock<IConfigService>().SetupGet(c => c.Retention).Returns(1000);
|
||||
}
|
||||
|
||||
private void WithShortRetention()
|
||||
{
|
||||
Mocker.GetMock<ConfigService>().SetupGet(c => c.Retention).Returns(10);
|
||||
Mocker.GetMock<IConfigService>().SetupGet(c => c.Retention).Returns(10);
|
||||
}
|
||||
|
||||
private void WithEqualRetention()
|
||||
{
|
||||
Mocker.GetMock<ConfigService>().SetupGet(c => c.Retention).Returns(100);
|
||||
Mocker.GetMock<IConfigService>().SetupGet(c => c.Retention).Returns(100);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue