Adding functional tests (#197)

* Working on login tests

* Testing login with an integration test

Working on login functional test.

* Got functional login test working
This commit is contained in:
Steve Smith
2019-01-25 13:13:01 -05:00
committed by GitHub
parent be06e777a6
commit 1b610dd7a4
7 changed files with 157 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ namespace Microsoft.eShopWeb.Web.Controllers
// POST: /Account/SignIn
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
//[ValidateAntiForgeryToken]
public async Task<IActionResult> SignIn(LoginViewModel model, string returnUrl = null)
{
if (!ModelState.IsValid)