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 }),
853await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
858await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }),
888await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[2] }),
919await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1007await AssertProblemAsync(await client.PostAsJsonAsync("/identity/resetPassword", new { Email = confirmedEmail, resetCode, NewPassword = "" }),
1013await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = confirmedEmail, Password }),
1071await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password }),
1215await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1258await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password = newPassword }),
1261await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1456await AssertProblemAsync(await client.PostAsJsonAsync($"{groupPrefix}/login", new { email, Password }),