QuarkusGeneratorTest : Replace AssertJ's deprecated asList()
DSL method with asInstanceOf(InstanceOfAssertFactories.list(type.class))
#3028
Labels
Milestone
Component
JKube Kit
Task description
Description
In the latest versions of Assertj
asList()
DSL method has been marked as deprecated:jkube/jkube-kit/jkube-kit-quarkus/src/test/java/org/eclipse/jkube/quarkus/generator/QuarkusGeneratorTest.java
Line 371 in 91be299
users are advised to use
asInstanceOf(InstanceOfAssertFactories.list(type.class))
instead, we need to updateasList()
calls with this. Once we use it, we can omitisInstanceOf(Pod.class)
from line 371Expected 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 places in QuarkusGeneratorTest.asInstanceOf()
call afterasList()
is removedThe text was updated successfully, but these errors were encountered: