fix PartialImportTest for migration tests
This commit is contained in:
1 parent
d217b23719
commit
50c11e105b
1 file changed
+1
-1
+1
-1
@@ -133,7 +133,7 @@ public class PartialImportTest extends AbstractAuthTest {
|
||||
public void removeClients() {
|
||||
List<ClientRepresentation> toRemove = testRealmResource().clients().findAll();
|
||||
for (ClientRepresentation client : toRemove) {
|
||||
if (client.getName().startsWith(CLIENT_PREFIX)) {
|
||||
if (client.getName() != null && client.getName().startsWith(CLIENT_PREFIX)) {
|
||||
testRealmResource().clients().get(client.getId()).remove();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user