arquillian testsuite, migration test: fixed typo in arquillian.xml, add migration test for 1.5.1.Final

This commit is contained in:
vramik 2015-10-30 11:32:01 +01:00
parent cd640339fc
commit c2e14cb924
2 changed files with 11 additions and 1 deletions

View file

@ -47,5 +47,15 @@ public class MigrationTest extends AbstractKeycloakTest {
Assert.fail("TODO"); Assert.fail("TODO");
} }
@Test
@Migration(versionFrom = "1.5.1.Final")
public void migration15Test() {
for (RealmRepresentation realm : adminClient.realms().findAll()) {
System.out.println(realm.getRealm());
}
Assert.fail("TODO");
}
} }

View file

@ -44,7 +44,7 @@
<configuration> <configuration>
<property name="enabled">${migration.kc15}</property> <property name="enabled">${migration.kc15}</property>
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property> <property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
<property name="jbossHome">${keycloak.migration.homev}</property> <property name="jbossHome">${keycloak.migration.home}</property>
<property name="javaVmArguments"> <property name="javaVmArguments">
-Dkeycloak.migration.action=import -Dkeycloak.migration.action=import
-Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.provider=singleFile