ResourceUtilTest : Replace AssertJ's deprecated asList()
DSL method with asInstanceOf(InstanceOfAssertFactories.list(type.class))
#3057
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/common/src/test/java/org/eclipse/jkube/kit/common/util/ResourceUtilTest.java
Lines 112 to 113 in bfbf08d
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: