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

Fix: Metadata ignored for non model-specific EditorTemplate #2820

Closed
wants to merge 1 commit into from

Conversation

ajaybhargavb
Copy link
Contributor

Issue - #2778

@dougbu

var response = await client.GetStringAsync("http://localhost/HtmlGeneration_Home/ItemUsingSharedEditorTemplate");

// Assert
Assert.Equal(expected, response);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need ignoreLineEndingDifferences: true here and in next test. This is the reason Travis is currently failing.

@dougbu
Copy link
Member

dougbu commented Jul 15, 2015

@dougbu
Copy link
Member

dougbu commented Jul 15, 2015

Also please add a test or two to RazorPageActivatorTest covering expected RazorPage.ViewData values when activation context contains a ViewDataDictionary<object> instance.

@ajaybhargavb
Copy link
Contributor Author

Updated.

// Arrange
var server = TestHelper.CreateServer(_app, SiteName, _configureServices);
var client = server.CreateClient();
var expected = PlatformNormalizer.NormalizeContent(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not need PlatformNormalizer.NormalizeContent() here.

@dougbu
Copy link
Member

dougbu commented Jul 16, 2015

:shipit: after removing extra NormalizeContent and squashing

@rynowak
Copy link
Member

rynowak commented Jul 16, 2015

:shipit: from me

@ajaybhargavb ajaybhargavb force-pushed the editor-template-fix branch from 4489dc4 to 41f9ae9 Compare July 16, 2015 20:07
@ajaybhargavb ajaybhargavb deleted the editor-template-fix branch July 16, 2015 23:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants