mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
fixed some broken tests.
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user