React to aspnet/Razor#1030 - Enable skipped test
This commit is contained in:
parent
19331f9532
commit
ed9025cc5b
|
|
@ -68,14 +68,14 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
|
||||||
Assert.Contains(expected, content);
|
Assert.Contains(expected, content);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact(Skip = "Razor #595")]
|
[Fact]
|
||||||
public async Task CompilationFailuresFromViewImportsAreListed()
|
public async Task CompilationFailuresFromViewImportsAreListed()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var expectedMessage = "The type or namespace name 'NamespaceDoesNotExist' could not be found ("
|
var expectedMessage = "The type or namespace name 'NamespaceDoesNotExist' could not be found ("
|
||||||
+ "are you missing a using directive or an assembly reference?)";
|
+ "are you missing a using directive or an assembly reference?)";
|
||||||
var expectedCompilationContent = "public class _Views_ErrorFromViewImports_Index_cshtml : "
|
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");
|
var expectedMediaType = MediaTypeHeaderValue.Parse("text/html; charset=utf-8");
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue