[KEYCLOAK-4732] - Need to run the test using the target testing realm
This commit is contained in:
parent
38ae6c981b
commit
ab58779d22
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ public class PolicyEvaluationCompositeRoleTest extends AbstractKeycloakTest {
|
|||
|
||||
public static void setup(KeycloakSession session) {
|
||||
RealmModel realm = session.realms().getRealmByName(TEST);
|
||||
|
||||
session.getContext().setRealm(realm);
|
||||
|
||||
ClientModel client = session.realms().addClient(realm, "myclient");
|
||||
RoleModel role1 = client.addRole("client-role1");
|
||||
|
||||
|
|
Loading…
Reference in a new issue