20 references to AssertProblemAsync
Microsoft.AspNetCore.Identity.FunctionalTests (20)
MapIdentityApiTests.cs (20)
87await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
98await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password = "wrong" }),
437await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password = "wrong" }),
440await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password = "wrong" }),
447await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
467await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password = "wrong" }),
549await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
715await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
752await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
849await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
854await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }),
884await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[2] }),
915await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1003await AssertProblemAsync(await client.PostAsJsonAsync("/identity/resetPassword", new { Email = confirmedEmail, resetCode, NewPassword = "" }),
1009await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = confirmedEmail, Password }),
1067await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password }),
1211await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1254await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password = newPassword }),
1257await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1414await AssertProblemAsync(await client.PostAsJsonAsync($"{groupPrefix}/login", new { email, Password }),