diff --git a/build.gradle.kts b/build.gradle.kts index d2815a54..2ad8cf7f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -90,9 +90,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") }