Even after fix KEYCLOAK-1590, adapter tests are still using import per test method rather then per test class. I needed to use it as some adapter tests are still failing and I don't have time to look further now...
So there is this in AbstractAdapterTest for now:
{code}
// TODO: Fix to not require re-import
@Override
protected boolean isImportAfterEachMethod() {
return true;
}
{code}
Once it is removed and adapter tests are fixed, we can resolve this JIRA.
Even after fix KEYCLOAK-1590, adapter tests are still using import per test method rather then per test class. I needed to use it as some adapter tests are still failing and I don't have time to look further now...
So there is this in AbstractAdapterTest for now: {code} // TODO: Fix to not require re-import @Override protected boolean isImportAfterEachMethod() { return true; } {code}
Once it is removed and adapter tests are fixed, we can resolve this JIRA.