From 8bae02928d9828205f79edcd8fcd2ab90ab1eb0e Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Mon, 20 Apr 2015 12:44:30 -0700 Subject: [PATCH] Fix build break --- samples/MvcSample.Web/Views/Shared/MyView.cshtml | 16 ---------------- .../MvcSampleTests.cs | 4 ++-- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/samples/MvcSample.Web/Views/Shared/MyView.cshtml b/samples/MvcSample.Web/Views/Shared/MyView.cshtml index d1f6231da3..1d6a32262b 100644 --- a/samples/MvcSample.Web/Views/Shared/MyView.cshtml +++ b/samples/MvcSample.Web/Views/Shared/MyView.cshtml @@ -203,14 +203,6 @@ @Html.RadioButtonFor(m => m.Dependent.Alive, value: true) True - - - @Html.LabelFor(model => model.Password, htmlAttributes: new { @class="control-label col-md-2" }) - - - @Html.PasswordFor(m => m.Password, htmlAttributes: new { @class = "form-control" }) - - @@ -263,14 +255,6 @@ htmlAttributes: new { @class = "form-control" }) - - - @Html.Label("Password") - - - @Html.Password("Password", "some string") - - diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/MvcSampleTests.cs b/test/Microsoft.AspNet.Mvc.FunctionalTests/MvcSampleTests.cs index b8f42955a9..6c91e2bd55 100644 --- a/test/Microsoft.AspNet.Mvc.FunctionalTests/MvcSampleTests.cs +++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/MvcSampleTests.cs @@ -130,9 +130,9 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests "\"http://schemas.datacontract.org/2004/07/MvcSample.Web.Models\">I like playing Football" + "
My address
13true" + "
Dependents address
0false" + - "0Dependents name" + + "0Dependents name" + "13.37" + - "My nameSecure stringSoftware Engineer", + "My nameSoftware Engineer", await response.Content.ReadAsStringAsync()); }