You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading my project to assertj 3.15.0 JsonUnit fails due to a removed method:
java.lang.NoSuchMethodError: org.assertj.core.api.StringAssert.as(Ljava/lang/String;[Ljava/lang/Object;)Lorg/assertj/core/api/AbstractAssert;
at net.javacrumbs.jsonunit.assertj.JsonAssert.isString(JsonAssert.java:203)
at net.javacrumbs.jsonunit.assertj.JsonAssert.asString(JsonAssert.java:208)
at io.jenkins.plugins.analysis.warnings.recorder.RemoteApiITest.assertThatToolsContains(RemoteApiITest.java:171)
at io.jenkins.plugins.analysis.warnings.recorder.RemoteApiITest.shouldReturnAggregation(RemoteApiITest.java:160)
Hi, thanks for reporting it. It seems that AssertJ indeed moved the method from AbstractAssert class to Descriptable interface default method which is source compatible but not binary compatible change. I will rebuild the project which should fix it.
After upgrading my project to assertj 3.15.0 JsonUnit fails due to a removed method:
(See also CI build)
My test case snippet that causes the problem:
The text was updated successfully, but these errors were encountered: