⬆️ Upgrade Mockito to latest version
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 8 Mar 2024 10:43:00 +0000 (11:43 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 8 Mar 2024 10:43:00 +0000 (11:43 +0100)
build.gradle
src/test/java/net/pterodactylus/rhynodge/actions/EmailActionTest.java

index 69fff10..20219b8 100644 (file)
@@ -56,7 +56,7 @@ dependencies {
 
     testImplementation group: "junit", name: "junit", version: "4.13.2"
     testImplementation group: "org.hamcrest", name: "hamcrest-library", version: "1.3"
-    testImplementation group: "org.mockito", name: "mockito-core", version: "1.9.5"
+    testImplementation group: "org.mockito", name: "mockito-core", version: "5.11.0"
 }
 
 task fatJar(type: Jar) {
index 960a235..a4dbb16 100644 (file)
@@ -1,6 +1,6 @@
 package net.pterodactylus.rhynodge.actions;
 
-import static org.mockito.Matchers.any;
+import static org.mockito.ArgumentMatchers.any;
 import static org.mockito.Mockito.doThrow;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.times;