From 0392ebab32e949925269263e40578d91eed8d9fe Mon Sep 17 00:00:00 2001 From: vramik Date: Thu, 29 Oct 2015 12:22:33 +0100 Subject: [PATCH] arquillian testsuite: remove adding test realm in migration scenario --- .../keycloak/testsuite/migration/MigrationTest.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/migration/MigrationTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/migration/MigrationTest.java index 6e7e2c8912..f84e1db3fc 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/migration/MigrationTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/migration/MigrationTest.java @@ -21,16 +21,17 @@ */ package org.keycloak.testsuite.migration; +import java.util.List; import org.junit.Assert; import org.junit.Test; import org.keycloak.representations.idm.RealmRepresentation; -import org.keycloak.testsuite.AbstractAuthTest; +import org.keycloak.testsuite.AbstractKeycloakTest; import org.keycloak.testsuite.arquillian.migration.Migration; /** * @author Vlastislav Ramik */ -public class MigrationTest extends AbstractAuthTest { +public class MigrationTest extends AbstractKeycloakTest { @Test @Migration(versionFrom = "1.6.0.Final") @@ -42,4 +43,9 @@ public class MigrationTest extends AbstractAuthTest { Assert.fail("TODO"); } + @Override + public void addTestRealms(List testRealms) { + log.info("Adding no test realms for migration test. Test realm should be migrated from previous vesrion."); + } + }