Closed rohanKanojia closed 1 month ago
None
In the latest versions of Assertj asList() DSL method has been marked as deprecated:
asList()
https://github.com/eclipse-jkube/jkube/blob/b594cb13775dd64d13cbda48314c80f99082ef0f/jkube-kit/build/service/jib/src/test/java/org/eclipse/jkube/kit/service/jib/JibServiceUtilTest.java#L320
users are advised to use asInstanceOf(InstanceOfAssertFactories.list(type.class)) instead, we need to update asList() calls with this.
asInstanceOf(InstanceOfAssertFactories.list(type.class))
AssertJ's asList() is replaced with asInstanceOf(InstanceOfAssertFactories.list(type.class))
@rohanKanojia Hi! Can I work on this issue?
Hi @rohanKanojia, could you please assign this to me? thank you.
Component
None
Task description
Description
In the latest versions of Assertj
asList()
DSL method has been marked as deprecated:https://github.com/eclipse-jkube/jkube/blob/b594cb13775dd64d13cbda48314c80f99082ef0f/jkube-kit/build/service/jib/src/test/java/org/eclipse/jkube/kit/service/jib/JibServiceUtilTest.java#L320
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 places