assumeCommunity for AccountPageTest.testLocalizedReferrerLinkContent

This commit is contained in:
vramik 2017-01-31 13:22:16 +01:00
parent 2fd0c38ad1
commit 9a16805f17

View file

@ -23,6 +23,7 @@ import org.keycloak.admin.client.resource.RealmResource;
import org.keycloak.representations.idm.ClientRepresentation; import org.keycloak.representations.idm.ClientRepresentation;
import org.keycloak.testsuite.pages.AccountUpdateProfilePage; import org.keycloak.testsuite.pages.AccountUpdateProfilePage;
import org.keycloak.testsuite.pages.LoginPage; import org.keycloak.testsuite.pages.LoginPage;
import org.keycloak.testsuite.ProfileAssume;
import java.util.List; import java.util.List;
@ -56,6 +57,8 @@ public class AccountPageTest extends AbstractI18NTest {
@Test @Test
public void testLocalizedReferrerLinkContent() { public void testLocalizedReferrerLinkContent() {
ProfileAssume.assumeCommunity();
RealmResource testRealm = testRealm(); RealmResource testRealm = testRealm();
List<ClientRepresentation> foundClients = testRealm.clients().findByClientId("var-named-test-app"); List<ClientRepresentation> foundClients = testRealm.clients().findByClientId("var-named-test-app");
if (foundClients.isEmpty()) { if (foundClients.isEmpty()) {