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 }));
856AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }));
885AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = resetRecoveryCodes[0] }));
1017AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email = confirmedEmail, Password = newPassword }));
1075AssertOk(await client.PostAsJsonAsync("/identity/refresh", new { RefreshToken = originalRefreshToken }));
1084AssertOk(await client.GetAsync(GetEmailConfirmationLink(email)));
1173AssertOk(emailConfirmationResponse);
1210AssertOk(await client.PostAsJsonAsync("/identity/manage/info", new { OldPassword = Password, newPassword }));
1217AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password = newPassword }));
1264AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password = newPassword }));
1269AssertOk(await client.GetAsync(GetEmailConfirmationLink(changeEmail)));
1277AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password = newPassword }));
1305AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password }));
1459AssertOk(await client.GetAsync(GetEmailConfirmationLink(receivedEmail)));
1509AssertOk(response);