21 references to AssertOk
Microsoft.AspNetCore.Identity.FunctionalTests (21)
MapIdentityApiTests.cs (21)
477AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
555AssertOk(await client.PostAsJsonAsync("/identity/resendConfirmationEmail", new { Email = "wrong" }));
556AssertOk(await client.PostAsJsonAsync("/identity/resendConfirmationEmail", new { Email = Email }));
564AssertOk(await client.GetAsync(GetEmailConfirmationLink(resentEmail)));
565AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
721AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, twoFactorCode }));
772AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
855AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }));
884AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = resetRecoveryCodes[0] }));
1016AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email = confirmedEmail, Password = newPassword }));
1074AssertOk(await client.PostAsJsonAsync("/identity/refresh", new { RefreshToken = originalRefreshToken }));
1083AssertOk(await client.GetAsync(GetEmailConfirmationLink(email)));
1172AssertOk(emailConfirmationResponse);
1209AssertOk(await client.PostAsJsonAsync("/identity/manage/info", new { OldPassword = Password, newPassword }));
1216AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password = newPassword }));
1263AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password = newPassword }));
1268AssertOk(await client.GetAsync(GetEmailConfirmationLink(changeEmail)));
1276AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password = newPassword }));
1304AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
1458AssertOk(await client.GetAsync(GetEmailConfirmationLink(receivedEmail)));
1508AssertOk(response);