diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/BasicTests.cs b/test/Microsoft.AspNet.Mvc.FunctionalTests/BasicTests.cs index 026bed8425..cc3a9f88b9 100644 --- a/test/Microsoft.AspNet.Mvc.FunctionalTests/BasicTests.cs +++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/BasicTests.cs @@ -40,7 +40,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests // The K runtime compiles every file under compiler/resources as a resource at runtime with the same name // as the file name, in order to update a baseline you just need to change the file in that folder. - var expectedContent = await _resourcesAssembly.ReadResourceAsStringAsync("BasicWebSite.Home.Index.html"); + var expectedContent = await _resourcesAssembly.ReadResourceAsStringAsync("compiler/resources/BasicWebSite.Home.Index.html"); // Act @@ -60,7 +60,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests // Arrange var server = TestServer.Create(_provider, _app); var client = server.Handler; - var expectedContent = await _resourcesAssembly.ReadResourceAsStringAsync("BasicWebSite.Home.PlainView.html"); + var expectedContent = await _resourcesAssembly.ReadResourceAsStringAsync("compiler/resources/BasicWebSite.Home.PlainView.html"); // Act var result = await client.GetAsync("http://localhost/Home/PlainView"); diff --git a/test/Microsoft.AspNet.Mvc.Razor.Host.Test/InjectChunkVisitorTest.cs b/test/Microsoft.AspNet.Mvc.Razor.Host.Test/InjectChunkVisitorTest.cs index a1a3b8556b..62a9f76623 100644 --- a/test/Microsoft.AspNet.Mvc.Razor.Host.Test/InjectChunkVisitorTest.cs +++ b/test/Microsoft.AspNet.Mvc.Razor.Host.Test/InjectChunkVisitorTest.cs @@ -116,8 +116,8 @@ MyType2 @MyPropertyName2 }; host.NamespaceImports.Clear(); var engine = new RazorTemplateEngine(host); - var source = ReadResource("Inject.cshtml"); - var expectedCode = ReadResource("Inject.cs"); + var source = ReadResource("TestFiles/Input/Inject.cshtml"); + var expectedCode = ReadResource("TestFiles/Output/Inject.cs"); var expectedLineMappings = new List { BuildLineMapping(1, 0, 1, 32, 3, 0, 17),