From b3ae68bb228665788870c9767ec83c0e5a9cf3de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp=20=28TWiStErRob=29?= Date: Fri, 14 Jul 2023 10:40:09 +0100 Subject: [PATCH] Upgrade mockito now that the minimum Java is 11 on CI --- build.gradle.kts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 714d7e78..d79c44f6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -89,9 +89,7 @@ dependencies { testImplementation("com.github.tomakehurst:wiremock:2.27.2") testImplementation("ru.lanwen.wiremock:wiremock-junit5:1.3.1") testImplementation("org.assertj:assertj-core:3.24.2") - // This cannot be updated to 5.x as it requires Java 11, - // but we are running CI on Java 8 in .github/workflows/java-versions.yml. - testImplementation("org.mockito:mockito-junit-jupiter:4.11.0") + testImplementation("org.mockito:mockito-junit-jupiter:5.4.0") testImplementation("com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0") }