KEYCLOAK-2720: Fix PermissionsTest
This commit is contained in:
parent
3035cbc5db
commit
3efd103712
1 changed files with 3 additions and 1 deletions
|
@ -1171,7 +1171,9 @@ public class PermissionsTest extends AbstractKeycloakTest {
|
||||||
}, Resource.USER, false);
|
}, Resource.USER, false);
|
||||||
invoke(new InvocationWithResponse() {
|
invoke(new InvocationWithResponse() {
|
||||||
public void invoke(RealmResource realm, AtomicReference<Response> response) {
|
public void invoke(RealmResource realm, AtomicReference<Response> response) {
|
||||||
response.set(realm.groups().add(new GroupRepresentation()));
|
GroupRepresentation group = new GroupRepresentation();
|
||||||
|
group.setName("mygroup");
|
||||||
|
response.set(realm.groups().add(group));
|
||||||
}
|
}
|
||||||
}, Resource.USER, true);
|
}, Resource.USER, true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue