diff --git a/src/Mvc/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs b/src/Mvc/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs index 985b07e0eb..7241fbf2eb 100644 --- a/src/Mvc/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs +++ b/src/Mvc/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs @@ -25,7 +25,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests public HttpClient Client { get; } - [Fact(Skip = "https://github.com/aspnet/Mvc/issues/8753")] + [Fact] public async Task CompilationFailuresAreListedByErrorPageMiddleware() { // Arrange @@ -45,7 +45,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests Assert.DoesNotContain(PreserveCompilationContextMessage, content); } - [Fact(Skip = "https://github.com/aspnet/Mvc/issues/8753")] + [Fact] public async Task ParseFailuresAreListedByErrorPageMiddleware() { // Arrange @@ -67,7 +67,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests Assert.Contains(expected, content); } - [Fact(Skip = "https://github.com/aspnet/Mvc/issues/8753")] + [Fact] public async Task CompilationFailuresFromViewImportsAreListed() { // Arrange @@ -90,7 +90,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests Assert.Contains(expectedCompilationContent, content); } - [Fact(Skip = "https://github.com/aspnet/Mvc/issues/8753")] + [Fact] public async Task RuntimeErrorAreListedByErrorPageMiddleware() { // Arrange diff --git a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj index 8364619d34..7f98eb7afe 100644 --- a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj +++ b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj @@ -2,7 +2,6 @@ netcoreapp3.0 - full false true @@ -10,6 +9,7 @@ + diff --git a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs index 2a9c4b0b21..07fb576c33 100644 --- a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs @@ -15,6 +15,7 @@ namespace ErrorPageMiddlewareWebSite public void ConfigureServices(IServiceCollection services) { services.AddMvc() + .AddRazorRuntimeCompilation() .SetCompatibilityVersion(CompatibilityVersion.Latest); }