From bfcb7d2dc88ecbb5376392c5018124cc451df20d Mon Sep 17 00:00:00 2001 From: Knut Wannheden Date: Mon, 22 Jan 2024 17:10:26 +0100 Subject: [PATCH] Attempt to fix `staticallyImportAssertions()` --- .../java/testing/junit5/AssertToAssertionsTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/org/openrewrite/java/testing/junit5/AssertToAssertionsTest.java b/src/test/java/org/openrewrite/java/testing/junit5/AssertToAssertionsTest.java index f20787a14..aba15128f 100644 --- a/src/test/java/org/openrewrite/java/testing/junit5/AssertToAssertionsTest.java +++ b/src/test/java/org/openrewrite/java/testing/junit5/AssertToAssertionsTest.java @@ -321,8 +321,7 @@ void staticallyImportAssertions() { .recipe(Environment.builder() .scanRuntimeClasspath("org.openrewrite.java.testing") .build() - .activateRecipes("org.openrewrite.java.testing.junit5.JUnit5BestPractices")) - .expectedCyclesThatMakeChanges(2), + .activateRecipes("org.openrewrite.java.testing.junit5.JUnit5BestPractices")), //language=java java( """