Users have to authenticate first before account-console is loaded
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
This commit is contained in:
parent
c400eff9b0
commit
6a4ec24015
1 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ public class OrganizationInvitationLinkTest extends AbstractOrganizationTest {
|
|||
|
||||
OrganizationResource organization = testRealm().organizations().get(createOrganization().getId());
|
||||
try (
|
||||
RealmAttributeUpdater rau = new RealmAttributeUpdater(testRealm()).setRegistrationAllowed(Boolean.TRUE).update();
|
||||
RealmAttributeUpdater rau = new RealmAttributeUpdater(testRealm()).setRegistrationAllowed(Boolean.TRUE).update();
|
||||
Response response = organization.members().inviteUser(email, null, null)
|
||||
) {
|
||||
assertThat(response.getStatus(), equalTo(Response.Status.NO_CONTENT.getStatusCode()));
|
||||
|
@ -299,7 +299,7 @@ public class OrganizationInvitationLinkTest extends AbstractOrganizationTest {
|
|||
}
|
||||
|
||||
private void acceptInvitation(OrganizationResource organization, UserRepresentation user) throws MessagingException, IOException {
|
||||
acceptInvitation(organization, user, "Account Management");
|
||||
acceptInvitation(organization, user, "Sign in to");
|
||||
}
|
||||
|
||||
private void acceptInvitation(OrganizationResource organization, UserRepresentation user, String pageTitle) throws MessagingException, IOException {
|
||||
|
|
Loading…
Reference in a new issue