[KEYCLOAK-4732] - Need to run the test using the target testing realm

This commit is contained in:
Pedro Igor 2017-04-25 08:34:39 -03:00
parent 38ae6c981b
commit ab58779d22

View file

@ -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");