WebAppGeneratorTest : Replace AssertJ's deprecated asList()
DSL method with asInstanceOf(InstanceOfAssertFactories.list(type.class))
#3286
Labels
Milestone
Component
JKube Kit
Task description
In the latest versions of Assertj
asList()
DSL method has been marked as deprecated:jkube/jkube-kit/generator/webapp/src/test/java/org/eclipse/jkube/generator/webapp/WebAppGeneratorTest.java
Line 129 in e1cde0b
users are advised to use
asInstanceOf(InstanceOfAssertFactories.list(type.class))
instead, we need to updateasList()
calls with this.Expected Behavior
AssertJ's
asList()
is replaced withasInstanceOf(InstanceOfAssertFactories.list(type.class))
Acceptance Criteria
asList()
DSL method call is replaced withasInstanceOf(InstanceOfAssertFactories.list(type.class))
in all placesThe text was updated successfully, but these errors were encountered: