diff --git a/pom.xml b/pom.xml
index 8435201..8415bc5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,8 +29,8 @@
3.2.5
24.0.1
1.17.2
- 5.10.2
+ 5.10.2
5.11.0
5.15.0
2.0.12
diff --git a/src/test/java/org/vaulttec/keycloak/ldap/mappers/confluence/ConfluenceGroupLDAPStorageMapperIT.java b/src/test/java/org/vaulttec/keycloak/ldap/mappers/confluence/ConfluenceGroupLDAPStorageMapperIT.java
index b7c957f..3fb5633 100644
--- a/src/test/java/org/vaulttec/keycloak/ldap/mappers/confluence/ConfluenceGroupLDAPStorageMapperIT.java
+++ b/src/test/java/org/vaulttec/keycloak/ldap/mappers/confluence/ConfluenceGroupLDAPStorageMapperIT.java
@@ -64,7 +64,7 @@ public void testUsersWithGroups(String username, String email) {
UsersResource usersResource = kcAdmin.realm(REALM).users();
// Get user representation for given username
List users = usersResource.search(username);
- assertThat(users, is(not(empty())));
+ assertEquals(1, users.size());
String userId = users.get(0).getId();
// Retrieve user details and check user's email address
UserResource userResource = usersResource.get(userId);
@@ -81,7 +81,7 @@ public void testFullSync() {
RealmResource realm = kcAdmin.realm(REALM);
// Retrieve ID of LDAP user federation provider
List storageProviders = realm.components().query(realm.toRepresentation().getId(), UserStorageProvider.class.getName());
- assertThat(storageProviders, is(not(empty())));
+ assertEquals(1, storageProviders.size());
String storageProviderId = storageProviders.get(0).getId();
// Trigger full sync of users and groups
SynchronizationResultRepresentation syncResult = realm.userStorage().syncUsers(storageProviderId, "triggerFullSync");