mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
added TTL to cached objects
This commit is contained in:
parent
fa5dda8e2f
commit
121f3b973d
11 changed files with 160 additions and 141 deletions
|
@ -7,7 +7,7 @@ using NzbDrone.Test.Common;
|
|||
namespace NzbDrone.Common.Test.CacheTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class CachedManagerFixture:TestBase<ICacheManger>
|
||||
public class CachedManagerFixture : TestBase<ICacheManger>
|
||||
{
|
||||
[Test]
|
||||
public void should_return_proper_type_of_cache()
|
||||
|
@ -17,7 +17,6 @@ namespace NzbDrone.Common.Test.CacheTests
|
|||
result.Should().BeOfType<Cached<DateTime>>();
|
||||
}
|
||||
|
||||
|
||||
[Test]
|
||||
public void multiple_calls_should_get_the_same_cache()
|
||||
{
|
||||
|
@ -26,9 +25,5 @@ namespace NzbDrone.Common.Test.CacheTests
|
|||
|
||||
result1.Should().BeSameAs(result2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue