diff --git a/lib/taskana-core-test/src/test/java/acceptance/TaskanEngineInitalizationTest.java b/lib/taskana-core-test/src/test/java/acceptance/TaskanEngineInitalizationTest.java
index 8ddc722622..c924d4fa13 100644
--- a/lib/taskana-core-test/src/test/java/acceptance/TaskanEngineInitalizationTest.java
+++ b/lib/taskana-core-test/src/test/java/acceptance/TaskanEngineInitalizationTest.java
@@ -5,6 +5,7 @@
import java.lang.reflect.Field;
import java.util.List;
import java.util.OptionalInt;
+import org.assertj.core.api.InstanceOfAssertFactories;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
@@ -56,7 +57,7 @@ void should_InitializePriorityServiceProviders() throws Exception {
assertThat(priorityServiceManager.isEnabled()).isTrue();
assertThat(serviceProviders)
- .asList()
+ .asInstanceOf(InstanceOfAssertFactories.LIST)
.hasOnlyElementsOfType(MyPriorityServiceProvider.class)
.extracting(MyPriorityServiceProvider.class::cast)
.extracting(sp -> sp.taskanaEngine)
diff --git a/lib/taskana-test-api/src/test/java/pro/taskana/testapi/util/ServiceProviderExtractorTest.java b/lib/taskana-test-api/src/test/java/pro/taskana/testapi/util/ServiceProviderExtractorTest.java
index fd66be4106..32e236e85d 100644
--- a/lib/taskana-test-api/src/test/java/pro/taskana/testapi/util/ServiceProviderExtractorTest.java
+++ b/lib/taskana-test-api/src/test/java/pro/taskana/testapi/util/ServiceProviderExtractorTest.java
@@ -8,6 +8,7 @@
import java.util.List;
import java.util.Map;
import java.util.OptionalInt;
+import org.assertj.core.api.InstanceOfAssertFactories;
import org.assertj.core.api.ThrowableAssert.ThrowingCallable;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
@@ -266,7 +267,7 @@ class ExampleTestClassWithServiceProviders {}
assertThat(extractServiceProviders).containsOnlyKeys(CreateTaskPreprocessor.class);
assertThat(extractServiceProviders.get(CreateTaskPreprocessor.class))
- .asList()
+ .asInstanceOf(InstanceOfAssertFactories.LIST)
.hasExactlyElementsOfTypes(DummyTaskPreprocessor1.class);
}
@@ -283,7 +284,7 @@ class ExampleTestClassWithServiceProviders {}
assertThat(extractServiceProviders).containsOnlyKeys(CreateTaskPreprocessor.class);
assertThat(extractServiceProviders.get(CreateTaskPreprocessor.class))
- .asList()
+ .asInstanceOf(InstanceOfAssertFactories.LIST)
.hasExactlyElementsOfTypes(DummyTaskPreprocessor1.class, DummyTaskPreprocessor2.class);
}
diff --git a/pom.xml b/pom.xml
index 5c65a53264..647fb0d721 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,7 +82,7 @@
5.0.1.Final
- 3.24.2
+ 3.25.1
1.2.1
3.15.6
0.9.1