Skip to content

Commit ce41992

Browse files
committed
Fix unit test
1 parent a5ad9ca commit ce41992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SpatialFocus.MethodCache.Tests/MemoryCacheBasicTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void BasicTest4NoCache()
8787
[Fact]
8888
public void BasicTest5DerivedClass()
8989
{
90-
using MockMemoryCache mockMemoryCache = new MockMemoryCache();
90+
using MockMemoryCache mockMemoryCache = MockMemoryCache.Default;
9191

9292
dynamic instance = TestHelpers.CreateInstance<DerivedTestClass>(MemoryCacheBasicTests.TestResult.Assembly, mockMemoryCache);
9393

0 commit comments

Comments
 (0)