Bump mockito from 2.28.2 to 4.11.0

This fixes the build with Java 17
This commit is contained in:
Andreas Dangel 2023-01-10 12:09:01 +01:00
parent 81ece009e1
commit a856b622ec
No known key found for this signature in database
GPG Key ID: 25FE002491A5E1FE
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ import static org.mockito.Mockito.eq;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyZeroInteractions;
import static org.mockito.Mockito.verifyNoMoreInteractions;
import java.text.MessageFormat;
import java.util.Map;
@ -43,7 +43,7 @@ class RulesetFactoryTestBase {
}
protected void verifyNoWarnings() {
verifyZeroInteractions(mockReporter);
verifyNoMoreInteractions(mockReporter);
}
protected static Predicate<String> containing(String part) {

View File

@ -890,7 +890,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.28.2</version>
<version>4.11.0</version>
<scope>test</scope>
</dependency>