File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
src/test/kotlin/org/openrewrite Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ dependencies {
7070 testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine:latest.release" )
7171
7272 testImplementation(" org.openrewrite:rewrite-test:latest.integration" )
73+ testRuntimeOnly(" org.openrewrite:rewrite-java-11:latest.integration" )
7374
7475 testImplementation(" org.assertj:assertj-core:latest.release" )
7576 testImplementation(" com.github.marschall:memoryfilesystem:latest.release" )
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class MockitoUpgrade1To3Tests : RefactorVisitorTestForParser<J.CompilationUnit>
2727 override val parser: JavaParser = JavaParser .fromJavaVersion()
2828 .classpath(" mockito-all" , " junit" )
2929 .build()
30- override val visitors: Iterable <RefactorVisitor <* >> = loadVisitors(" org.openrewrite.mockito " )
30+ override val visitors: Iterable <RefactorVisitor <* >> = loadVisitors(" org.openrewrite.java.Mockito " )
3131
3232 /* *
3333 * Replace org.mockito.MockitoAnnotations.Mock with org.mockito.Mock
Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- package org.openrewrite.spring
16+ package org.openrewrite.spring.boot2
1717
1818import org.junit.jupiter.api.Test
1919import org.openrewrite.RefactorVisitor
@@ -27,7 +27,7 @@ class SpringBootServletInitializerTest : RefactorVisitorTestForParser<J.Compilat
2727 override val parser: JavaParser = JavaParser .fromJavaVersion()
2828 .classpath(" spring-boot" )
2929 .build()
30- override val visitors: Iterable <RefactorVisitor <* >> = loadVisitors(" org.openrewrite.spring " )
30+ override val visitors: Iterable <RefactorVisitor <* >> = loadVisitors(" org.openrewrite.java.SpringBoot2Migration " )
3131
3232 @Test
3333 fun changeType () = assertRefactored(
You can’t perform that action at this time.
0 commit comments