From e01c9ddd60f53e30ce2fc35741d1f129fef5331d Mon Sep 17 00:00:00 2001 From: Pedro Igor Date: Tue, 15 Jan 2019 11:08:18 -0200 Subject: [PATCH] [KEYCLOAK-8849] - Fixing request entitlements call --- .../testsuite/adapter/page/PhotozClientAuthzTestApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/adapter/page/PhotozClientAuthzTestApp.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/adapter/page/PhotozClientAuthzTestApp.java index 0a1a8ee72c..2c15d659da 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/adapter/page/PhotozClientAuthzTestApp.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/adapter/page/PhotozClientAuthzTestApp.java @@ -159,7 +159,7 @@ public class PhotozClientAuthzTestApp extends AbstractPageWithInjectedUrl { public void requestEntitlements(JavascriptStateValidator validator) { testExecutor.executeAsyncScript("var callback = arguments[arguments.length - 1];" + - "window.authorization.entitlement('photoz-restful-api').then(function (rpt) {" + + "window.authorization.entitlement('photoz-restful-api', {}).then(function (rpt) {" + " callback(JSON.stringify(jwt_decode(rpt), null, ' '));" + "});", validator); }