20 references to AssertOk
Microsoft.AspNetCore.Identity.FunctionalTests (20)
MapIdentityApiTests.cs (20)
474AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password })); 552AssertOk(await client.PostAsJsonAsync("/identity/resendConfirmationEmail", new { Email = "wrong" })); 553AssertOk(await client.PostAsJsonAsync("/identity/resendConfirmationEmail", new { Email = Email })); 561AssertOk(await client.GetAsync(GetEmailConfirmationLink(resentEmail))); 562AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password })); 718AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, twoFactorCode })); 769AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password })); 853AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] })); 882AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = resetRecoveryCodes[0] })); 1014AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email = confirmedEmail, Password = newPassword })); 1072AssertOk(await client.PostAsJsonAsync("/identity/refresh", new { RefreshToken = originalRefreshToken })); 1081AssertOk(await client.GetAsync(GetEmailConfirmationLink(email))); 1170AssertOk(emailConfirmationResponse); 1207AssertOk(await client.PostAsJsonAsync("/identity/manage/info", new { OldPassword = Password, newPassword })); 1214AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password = newPassword })); 1261AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password = newPassword })); 1266AssertOk(await client.GetAsync(GetEmailConfirmationLink(changeEmail))); 1274AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password = newPassword })); 1418AssertOk(await client.GetAsync(GetEmailConfirmationLink(receivedEmail))); 1468AssertOk(response);