Skip to content

Commit 0b9615e

Browse files
author
Greg Adams
committed
fixes junit + mockito integration test
1 parent 2169e86 commit 0b9615e

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

src/test/kotlin/org/openrewrite/java/testing/mockito/JunitMockitoUpgradeIntegrationTest.kt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,19 @@ class JunitMockitoUpgradeIntegrationTest : JavaRecipeTest {
505505
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
506506
<java.version>1.8</java.version>
507507
</properties>
508+
508509
<dependencies>
510+
<dependency>
511+
<groupId>com.googlecode.json-simple</groupId>
512+
<artifactId>json-simple</artifactId>
513+
<version>1.1.1</version>
514+
<exclusions>
515+
<exclusion>
516+
<groupId>junit</groupId>
517+
<artifactId>junit</artifactId>
518+
</exclusion>
519+
</exclusions>
520+
</dependency>
509521
<dependency>
510522
<groupId>org.junit.jupiter</groupId>
511523
<artifactId>junit-jupiter-api</artifactId>
@@ -518,17 +530,6 @@ class JunitMockitoUpgradeIntegrationTest : JavaRecipeTest {
518530
<version>5.7.1</version>
519531
<scope>test</scope>
520532
</dependency>
521-
<dependency>
522-
<groupId>com.googlecode.json-simple</groupId>
523-
<artifactId>json-simple</artifactId>
524-
<version>1.1.1</version>
525-
<exclusions>
526-
<exclusion>
527-
<groupId>junit</groupId>
528-
<artifactId>junit</artifactId>
529-
</exclusion>
530-
</exclusions>
531-
</dependency>
532533
</dependencies>
533534
</project>
534535
""".trimIndent())

0 commit comments

Comments
 (0)