@@ -392,7 +392,7 @@ public String fooBazes() {
392392 void changeTestAnnotationWithImplicityLiteralProperty () {
393393 rewriteRun (
394394 spec -> spec .recipe (new ChangeSpringPropertyKey ("server.servlet-path" , "server.servlet.path" , List .of ("foo" )))
395- .parser (JavaParser .fromJavaVersion ().classpathFromResources (new InMemoryExecutionContext (), "spring-boot-test" )),
395+ .parser (JavaParser .fromJavaVersion ().classpathFromResources (new InMemoryExecutionContext (), "spring-boot-test-3.2 " )),
396396 java (
397397 """
398398 import org.springframework.boot.test.context.SpringBootTest;
@@ -414,7 +414,7 @@ class SomeTest {}
414414 void changeTestAnnotationWithLiteralProperty () {
415415 rewriteRun (
416416 spec -> spec .recipe (new ChangeSpringPropertyKey ("server.servlet-path" , "server.servlet.path" , List .of ("foo" )))
417- .parser (JavaParser .fromJavaVersion ().classpathFromResources (new InMemoryExecutionContext (), "spring-boot-test" )),
417+ .parser (JavaParser .fromJavaVersion ().classpathFromResources (new InMemoryExecutionContext (), "spring-boot-test-3.2 " )),
418418 java (
419419 """
420420 import org.springframework.boot.test.context.SpringBootTest;
@@ -436,7 +436,7 @@ class SomeTest {}
436436 void changeTestAnnotationWithArrayProperties () {
437437 rewriteRun (
438438 spec -> spec .recipe (new ChangeSpringPropertyKey ("server.servlet-path" , "server.servlet.path" , List .of ("foo" )))
439- .parser (JavaParser .fromJavaVersion ().classpathFromResources (new InMemoryExecutionContext (), "spring-boot-test" )),
439+ .parser (JavaParser .fromJavaVersion ().classpathFromResources (new InMemoryExecutionContext (), "spring-boot-test-3.2 " )),
440440 java (
441441 """
442442 import org.springframework.boot.test.context.SpringBootTest;
@@ -458,7 +458,7 @@ class SomeTest {}
458458 void changeTestAnnotationWithImplicitArrayProperties () {
459459 rewriteRun (
460460 spec -> spec .recipe (new ChangeSpringPropertyKey ("server.servlet-path" , "server.servlet.path" , List .of ("foo" )))
461- .parser (JavaParser .fromJavaVersion ().classpathFromResources (new InMemoryExecutionContext (), "spring-boot-test" )),
461+ .parser (JavaParser .fromJavaVersion ().classpathFromResources (new InMemoryExecutionContext (), "spring-boot-test-3.2 " )),
462462 java (
463463 """
464464 import org.springframework.boot.test.context.SpringBootTest;
0 commit comments