KEYCLOAK-8830 Stabilize ExportImportTest
This commit is contained in:
parent
5ad929b9ee
commit
4fbbaf18aa
1 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,11 @@ public class ClientModelTest extends AbstractKeycloakTest {
|
||||||
"org.keycloak.testsuite.model");
|
"org.keycloak.testsuite.model");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean isImportAfterEachMethod() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addTestRealms(List<RealmRepresentation> testRealms) {
|
public void addTestRealms(List<RealmRepresentation> testRealms) {
|
||||||
RealmRepresentation realm = new RealmRepresentation();
|
RealmRepresentation realm = new RealmRepresentation();
|
||||||
|
@ -301,6 +306,7 @@ public class ClientModelTest extends AbstractKeycloakTest {
|
||||||
|
|
||||||
currentSession.realms().removeClient(client.getId(), realm);
|
currentSession.realms().removeClient(client.getId(), realm);
|
||||||
currentSession.realms().removeClient(copyClient.getId(), realm);
|
currentSession.realms().removeClient(copyClient.getId(), realm);
|
||||||
|
currentSession.realms().removeRealm(realm.getId());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue