6 references to AssertBadRequestAndEmpty
Microsoft.AspNetCore.Identity.FunctionalTests (6)
MapIdentityApiTests.cs (6)
55
AssertBadRequestAndEmpty
(await client.PostAsJsonAsync("/identity/register", new { Password }));
687
AssertBadRequestAndEmpty
(await client.PostAsync("/identity/manage/2fa", null));
688
AssertBadRequestAndEmpty
(await client.PostAsJsonAsync<object?>("/identity/manage/2fa", null));
990
AssertBadRequestAndEmpty
(await client.PostAsJsonAsync("/identity/resetPassword", new { Email = confirmedEmail, resetCode }));
991
AssertBadRequestAndEmpty
(await client.PostAsJsonAsync("/identity/resetPassword", new { Email = unconfirmedEmail, resetCode }));
992
AssertBadRequestAndEmpty
(await client.PostAsJsonAsync("/identity/resetPassword", new { Email = "wrong", resetCode }));