Skip to content

Commit

Permalink
Delegate to the Mockito 4 upgrade from JUnit 5 upgrade
Browse files Browse the repository at this point in the history
Fixes #541
  • Loading branch information
timtebeek committed Jul 8, 2024
1 parent 33c97a2 commit f1fda26
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/main/resources/META-INF/rewrite/junit5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,7 @@ recipeList:
onlyIfUsing: org.junit.jupiter.params.ParameterizedTest
acceptTransitive: true
scope: test
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: org.mockito
artifactId: "*"
newVersion: 3.x
overrideManagedVersion: false
- org.openrewrite.java.dependencies.AddDependency:
groupId: org.mockito
artifactId: mockito-junit-jupiter
version: 3.x
onlyIfUsing: org.mockito..*
acceptTransitive: true
scope: test
- org.openrewrite.java.testing.mockito.Mockito1to4Migration
- org.openrewrite.maven.UpgradePluginVersion:
groupId: org.apache.maven.plugins
artifactId: maven-surefire-plugin
Expand Down

0 comments on commit f1fda26

Please sign in to comment.