From ed9025cc5b7a40692cc6675b92739fcd74e8361e Mon Sep 17 00:00:00 2001 From: Ajay Bhargav Baaskaran Date: Tue, 21 Feb 2017 17:32:18 -0800 Subject: [PATCH] React to aspnet/Razor#1030 - Enable skipped test --- .../ErrorPageTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs index 0e6ac966c0..3afddfd418 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ErrorPageTests.cs @@ -68,14 +68,14 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests Assert.Contains(expected, content); } - [Fact(Skip = "Razor #595")] + [Fact] public async Task CompilationFailuresFromViewImportsAreListed() { // Arrange var expectedMessage = "The type or namespace name 'NamespaceDoesNotExist' could not be found (" + "are you missing a using directive or an assembly reference?)"; var expectedCompilationContent = "public class _Views_ErrorFromViewImports_Index_cshtml : " - + "Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>"; + + "global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>"; var expectedMediaType = MediaTypeHeaderValue.Parse("text/html; charset=utf-8"); // Act