From: David ‘Bombe’ Roden Date: Fri, 8 Mar 2024 10:43:00 +0000 (+0100) Subject: ⬆️ Upgrade Mockito to latest version X-Git-Tag: v2~16 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=894ec391181f30ea4d315c2137492ef57ae8fe07;p=rhynodge.git ⬆️ Upgrade Mockito to latest version --- diff --git a/build.gradle b/build.gradle index 69fff10..20219b8 100644 --- a/build.gradle +++ b/build.gradle @@ -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) { diff --git a/src/test/java/net/pterodactylus/rhynodge/actions/EmailActionTest.java b/src/test/java/net/pterodactylus/rhynodge/actions/EmailActionTest.java index 960a235..a4dbb16 100644 --- a/src/test/java/net/pterodactylus/rhynodge/actions/EmailActionTest.java +++ b/src/test/java/net/pterodactylus/rhynodge/actions/EmailActionTest.java @@ -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;