Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Fix test that started failing after the new release of a dependency by setting the version fixed.
  • Loading branch information
fabapp2 committed Nov 12, 2023
1 parent a7443d1 commit 0607f6f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ private void verifyJohnzonCoreDependencyIsUpgraded() {

assertThat(johnzonDependency.getClassifier()).isEqualTo("jakarta");
assertThat(johnzonDependency.getArtifactId()).isEqualTo("johnzon-core");
Optional<String> expectedJohnzonVersion = DependencyVersionHelper.getLatestReleaseVersion(johnzonDependency.getGroupId(), johnzonDependency.getArtifactId());
assertThat(johnzonDependency.getVersion()).isEqualTo(expectedJohnzonVersion.get());
assertThat(johnzonDependency.getVersion()).isEqualTo("1.2.21");
}

@NotNull
Expand Down

0 comments on commit 0607f6f

Please sign in to comment.