Closed rohanKanojia closed 1 month ago
JKube Kit
In the latest versions of Assertj asList() DSL method has been marked as deprecated:
asList()
https://github.com/eclipse-jkube/jkube/blob/e4af3d3ae2ab429c7c3af725e46482220902fc25/jkube-kit/helm/src/test/java/org/eclipse/jkube/kit/resource/helm/oci/OCIManifestTest.java#L67
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))
Hey @rohanKanojia,
Can you please assign me this issue? I’m already working on it, and once assigned, I can create a pull request.
Thank you!
Component
JKube Kit
Task description
In the latest versions of Assertj
asList()
DSL method has been marked as deprecated:https://github.com/eclipse-jkube/jkube/blob/e4af3d3ae2ab429c7c3af725e46482220902fc25/jkube-kit/helm/src/test/java/org/eclipse/jkube/kit/resource/helm/oci/OCIManifestTest.java#L67
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