Build and Deploy java applications on Kubernetes
Eclipse Public License 2.0
776
stars
523
forks
source link
ChartTest : Replace AssertJ's deprecated `asList()` DSL method with `asInstanceOf(InstanceOfAssertFactories.list(type.class))` #3438
Closed
rohanKanojia closed 1 month ago
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/ChartTest.java#L60
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