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:
1 parent
be06e777a6
commit
1b610dd7a4
7 files changed
+157
-13
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user