Skip to content

Commit

Permalink
Correct package for recently added recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Jan 15, 2025
1 parent b83c747 commit 45b07a6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.boot3.ReplaceRestTemplateBuilderMethods
name: org.openrewrite.java.spring.boot3.ReplaceRestTemplateBuilderMethods
displayName: Replace deprecated setters in `RestTemplateBuilder`
description: Replaces `setConnectTimeout`, `setReadTimeout`, and `setSslBundle` method invocations with `connectTimeout`, `readTimeout`, and `sslBundle` respectively.
recipeList:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.boot3.ReplaceMockBeanAndSpyBean
name: org.openrewrite.java.spring.boot3.ReplaceMockBeanAndSpyBean
displayName: Replace `@MockBean` and `@SpyBean`
description: Replaces `@MockBean` and `@SpyBean` annotations with `@MockitoBean` and `@MockitoSpyBean`.
recipeList:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ReplaceMockBeanAndSpyBeanTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
spec.recipeFromResources("org.openrewrite.java.boot3.ReplaceMockBeanAndSpyBean")
spec.recipeFromResources("org.openrewrite.java.spring.boot3.ReplaceMockBeanAndSpyBean")
.parser(JavaParser.fromJavaVersion()
.classpathFromResources(new InMemoryExecutionContext(),
"spring-boot-test", "mockito-core"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ReplaceRestTemplateBuilderMethodsTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
spec.recipeFromResources("org.openrewrite.java.boot3.ReplaceRestTemplateBuilderMethods")
spec.recipeFromResources("org.openrewrite.java.spring.boot3.ReplaceRestTemplateBuilderMethods")
.parser(JavaParser.fromJavaVersion().classpath("spring-boot", "spring-web"));
}

Expand Down

0 comments on commit 45b07a6

Please sign in to comment.