diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/broker/SocialLoginTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/broker/SocialLoginTest.java index d7029b3f2e..582a6edfab 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/broker/SocialLoginTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/broker/SocialLoginTest.java @@ -617,7 +617,7 @@ public class SocialLoginTest extends AbstractKeycloakTest { Client httpClient = AdminClientUtil.createResteasyClient(); Response response = null; try { - testingClient.server().run(SocialLoginTest::setupClientExchangePermissions); + testingClient.server(REALM).run(SocialLoginTest::setupClientExchangePermissions); WebTarget exchangeUrl = getExchangeUrl(httpClient); response = exchangeUrl.request()