Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

MVC Razor tests failing since the 10th #5794

Closed
dougbu opened this issue Feb 12, 2017 · 2 comments
Closed

MVC Razor tests failing since the 10th #5794

dougbu opened this issue Feb 12, 2017 · 2 comments
Assignees

Comments

@dougbu
Copy link
Member

dougbu commented Feb 12, 2017

Functional tests are failing because await output.GetChildContentAsync(encoder) no longer changes the HTML encoder used when rendering the child content.

See Microsoft.AspNetCore.Mvc.FunctionalTests.TagHelpersTest.EncodersPages_ReturnExpectedContent(...) tests. Only the test using the default encoder works as expected.

dougbu added a commit that referenced this issue Feb 12, 2017
@dougbu
Copy link
Member Author

dougbu commented Feb 12, 2017

Also seeing failures in Microsoft.AspNetCore.Mvc.Razor.Host.Test and Microsoft.AspNetCore.Mvc.Razor.Test which may be related. Unfortunately, failing tests in Microsoft.AspNetCore.Mvc.Razor.Host.Test look like problems with generated class names and chosen TModel replacements. So, this issue may represent a cluster of recent Razor-related issues in MVC.

@dougbu dougbu changed the title await output.GetChildContentAsync(encoder) no longer working MVC Razor tests failing since the 10th Feb 12, 2017
@dougbu
Copy link
Member Author

dougbu commented Feb 12, 2017

Generalized the issue subject since the HTML encoder choice is not the only issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants