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 }),
850await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
855await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }),
885await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[2] }),
916await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1004await AssertProblemAsync(await client.PostAsJsonAsync("/identity/resetPassword", new { Email = confirmedEmail, resetCode, NewPassword = "" }),
1010await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = confirmedEmail, Password }),
1068await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password }),
1212await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1255await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password = newPassword }),
1258await AssertProblemAsync(await client.PostAsJsonAsync("/identity/login", new { Email, Password }),
1415await AssertProblemAsync(await client.PostAsJsonAsync($"{groupPrefix}/login", new { email, Password }),