Skip to content

Commit 9968be8

Browse files
committed
Fix UseHamcrestAssertThatTest by adding mockito-all to the test classpath
1 parent 39d4b0e commit 9968be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/kotlin/org/openrewrite/java/testing/junit5/UseHamcrestAssertThatTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import org.openrewrite.java.JavaRecipeTest
2222

2323
class UseHamcrestAssertThatTest : JavaRecipeTest {
2424
override val parser: JavaParser = JavaParser.fromJavaVersion()
25-
.classpath("junit", "hamcrest-core")
25+
.classpath("junit", "hamcrest-core", "mockito-all")
2626
.build()
2727

2828
override val recipe = Environment.builder()

0 commit comments

Comments
 (0)