Skip to content

Commit f1fda26

Browse files
committed
Delegate to the Mockito 4 upgrade from JUnit 5 upgrade
Fixes #541
1 parent 33c97a2 commit f1fda26

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/main/resources/META-INF/rewrite/junit5.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,7 @@ recipeList:
122122
onlyIfUsing: org.junit.jupiter.params.ParameterizedTest
123123
acceptTransitive: true
124124
scope: test
125-
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
126-
groupId: org.mockito
127-
artifactId: "*"
128-
newVersion: 3.x
129-
overrideManagedVersion: false
130-
- org.openrewrite.java.dependencies.AddDependency:
131-
groupId: org.mockito
132-
artifactId: mockito-junit-jupiter
133-
version: 3.x
134-
onlyIfUsing: org.mockito..*
135-
acceptTransitive: true
136-
scope: test
125+
- org.openrewrite.java.testing.mockito.Mockito1to4Migration
137126
- org.openrewrite.maven.UpgradePluginVersion:
138127
groupId: org.apache.maven.plugins
139128
artifactId: maven-surefire-plugin

0 commit comments

Comments
 (0)