fix PartialImportTest for migration tests
This commit is contained in:
parent
d217b23719
commit
50c11e105b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue