From 894ec391181f30ea4d315c2137492ef57ae8fe07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 8 Mar 2024 11:43:00 +0100 Subject: [PATCH] =?utf8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20Mockito=20to=20la?= =?utf8?q?test=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- src/test/java/net/pterodactylus/rhynodge/actions/EmailActionTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.7.4