Skip to content

Commit

Permalink
Bump org.assertj:assertj-core from 3.24.2 to 3.25.1
Browse files Browse the repository at this point in the history
Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.24.2 to 3.25.1.
- [Release notes](https://github.com/assertj/assertj/releases)
- [Commits](assertj/assertj@assertj-build-3.24.2...assertj-build-3.25.1)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and holgerhagen committed Jan 22, 2024
1 parent fc726f1 commit 03683ce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -266,7 +267,7 @@ class ExampleTestClassWithServiceProviders {}

assertThat(extractServiceProviders).containsOnlyKeys(CreateTaskPreprocessor.class);
assertThat(extractServiceProviders.get(CreateTaskPreprocessor.class))
.asList()
.asInstanceOf(InstanceOfAssertFactories.LIST)
.hasExactlyElementsOfTypes(DummyTaskPreprocessor1.class);
}

Expand All @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<version.arquillian.managed.wildfly>5.0.1.Final</version.arquillian.managed.wildfly>

<!-- test dependencies -->
<version.assertj>3.24.2</version.assertj>
<version.assertj>3.25.1</version.assertj>
<version.archunit>1.2.1</version.archunit>
<version.equalsverifier>3.15.6</version.equalsverifier>
<version.openpojo>0.9.1</version.openpojo>
Expand Down

0 comments on commit 03683ce

Please sign in to comment.