Cleanup : Moving the mock code to the test project
This is to make the sample code cleaner. Moved the mock code to the test project. Also fixed some intendation issues in some cshtml files.
This commit is contained in:
parent
14ec7960a1
commit
6407ff0adc
|
|
@ -1 +0,0 @@
|
|||
# Mock code added only for testing purposes. Not to be used for production deployments.
|
||||
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
<h2>@ViewBag.Title.</h2>
|
||||
|
||||
@using (Html.BeginForm("SendCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
|
||||
@using (Html.BeginForm("SendCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
@Html.Hidden("rememberMe", @Model.RememberMe)
|
||||
<h4>Send verification code</h4>
|
||||
|
|
|
|||
|
|
@ -15,6 +15,5 @@
|
|||
<li>
|
||||
@Html.ActionLink("More...", "Index", "Store")
|
||||
</li>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
@ -5,11 +5,12 @@
|
|||
"description": "Music store application on ASP.NET 5",
|
||||
"version": "1.0.0-*",
|
||||
"compilationOptions": { "warningsAsErrors": true, "define": [ "DEMO", "TESTING" ] },
|
||||
"code": [ "**/*.cs", "../../test/E2ETests/compiler/shared/**/*.cs" ], // Code from ../../test/E2ETests/compiler/shared folder is for testing only.
|
||||
"packExclude": "*.cmd",
|
||||
"webroot": "wwwroot",
|
||||
"dependencies": {
|
||||
"EntityFramework.SqlServer": "7.0.0-*",
|
||||
"EntityFramework.InMemory": "7.0.0-*", //For Mono
|
||||
"EntityFramework.InMemory": "7.0.0-*", // For Mono.
|
||||
"Kestrel": "1.0.0-*",
|
||||
"Microsoft.AspNet.Diagnostics": "1.0.0-*",
|
||||
"Microsoft.AspNet.Diagnostics.Entity": "7.0.0-*",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
# Mock code added only for testing purposes. Not to be used for production deployments.
|
||||
|
||||
This code is compiled with the application by explicitly including the location in the application `project.json`'s "code" node.
|
||||
It is automatically excluded from compilation of current project by its presence in the compiler\shared\** special folder.
|
||||
Loading…
Reference in New Issue