20 references to AssertProblemAsync
Microsoft.AspNetCore.Identity.FunctionalTests (20)
MapIdentityApiTests.cs (20)
90await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
101await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password = "wrong" }),
440await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password = "wrong" }),
443await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password = "wrong" }),
450await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
470await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password = "wrong" }),
552await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
718await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
755await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
852await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
857await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }),
887await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[2] }),
918await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1006await AssertProblemAsync(await client.PostAsJsonAsync("/identity/resetPassword", new { Email = confirmedEmail, resetCode, NewPassword = "" }),
1012await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = confirmedEmail, Password }),
1070await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password }),
1214await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1257await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password = newPassword }),
1260await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1455await AssertProblemAsync(await client.PostAsJsonAsync($"{groupPrefix}/login", new { email, Password }),