From cf4742735d462884369e15ed0ad2cce70ee0ec96 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Fri, 12 May 2017 20:06:51 -0700 Subject: [PATCH] Fix Build Break --- .../Internal/CompilerCacheTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Internal/CompilerCacheTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Internal/CompilerCacheTest.cs index d04a60d953..9558e0b174 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Internal/CompilerCacheTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Internal/CompilerCacheTest.cs @@ -51,7 +51,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Internal var item = new Mock(); item .SetupGet(i => i.Path) - .Returns("/path"); + .Returns("/some/path"); item .SetupGet(i => i.Exists) .Returns(false); @@ -146,7 +146,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Internal // Act 2 // Delete the file from the file system and set it's expiration token. cacheContext = new CompilerCacheContext( - new NotFoundProjectItem("", ViewPath), + notFoundItem.Object, Enumerable.Empty(), _ => throw new Exception("Shouldn't be called.")); fileProvider.GetChangeToken(ViewPath).HasChanged = true;