Skip to content

Commit ed74dd7

Browse files
committed
Preserve Mockito's subclass behavior
With Mockito 5, the library has switched to using inline mocks by default. We almost certainly can support this, but it needs more investigation. For the time being it makes sense to preserve the mocking behavior users are used to since Quarkus 1.x Closes: #31251
1 parent 4a678b6 commit ed74dd7

File tree

1 file changed

+1
-1
lines changed
  • test-framework/junit5-mockito

1 file changed

+1
-1
lines changed

test-framework/junit5-mockito/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</dependency>
3232
<dependency>
3333
<groupId>org.mockito</groupId>
34-
<artifactId>mockito-core</artifactId>
34+
<artifactId>mockito-subclass</artifactId>
3535
</dependency>
3636
<dependency>
3737
<groupId>io.quarkus</groupId>

0 commit comments

Comments
 (0)