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 }));
852AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = recoveryCodes[0] }));
881AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password, TwoFactorRecoveryCode = resetRecoveryCodes[0] }));
1013AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email = confirmedEmail, Password = newPassword }));
1071AssertOk(await client.PostAsJsonAsync("/identity/refresh", new { RefreshToken = originalRefreshToken }));
1080AssertOk(await client.GetAsync(GetEmailConfirmationLink(email)));
1169AssertOk(emailConfirmationResponse);
1206AssertOk(await client.PostAsJsonAsync("/identity/manage/info", new { OldPassword = Password, newPassword }));
1213AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password = newPassword }));
1260AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email, Password = newPassword }));
1265AssertOk(await client.GetAsync(GetEmailConfirmationLink(changeEmail)));
1273AssertOk(await client.PostAsJsonAsync("/identity/login", new { Email = newEmail, Password = newPassword }));
1417AssertOk(await client.GetAsync(GetEmailConfirmationLink(receivedEmail)));
1467AssertOk(response);