Skip to content

Commit

Permalink
Update src/test/java/org/openrewrite/okhttp/MigrateToOkHttp4Test.java
Browse files Browse the repository at this point in the history
Co-authored-by: Tim te Beek <[email protected]>
  • Loading branch information
SimonVerhoeven and timtebeek authored Nov 30, 2023
1 parent 9d23711 commit 22f8835
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@
class MigrateToOkHttp4Test implements RewriteTest {

public void defaults(RecipeSpec spec) {
spec.recipe(Environment.builder()
.scanRuntimeClasspath("org.openrewrite.okhttp")
.build()
.activateRecipes("org.openrewrite.okhttp.UpgradeOkHttp4"));
spec.recipeFromResource("/META-INF/rewrite/okhttp-4.yml", "org.openrewrite.okhttp.UpgradeOkHttp4"));
}

@Nested
Expand Down

0 comments on commit 22f8835

Please sign in to comment.