From 476dcc2495902dcb82a55130b4963582b408e487 Mon Sep 17 00:00:00 2001 From: Marcin Laskowski Date: Fri, 26 Apr 2024 17:59:33 +0200 Subject: [PATCH] Update test dependencies to newer versions --- affectedmoduledetector/build.gradle | 4 ++-- .../com/dropbox/affectedmoduledetector/AttachLogsTestRule.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/affectedmoduledetector/build.gradle b/affectedmoduledetector/build.gradle index dcf16e7..d1db316 100644 --- a/affectedmoduledetector/build.gradle +++ b/affectedmoduledetector/build.gradle @@ -29,6 +29,6 @@ gradlePlugin { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" testImplementation("junit:junit:4.13.2") - testImplementation("com.nhaarman:mockito-kotlin:1.6.0") - testImplementation("com.google.truth:truth:1.1.3") + testImplementation("org.mockito.kotlin:mockito-kotlin:4.1.0") + testImplementation("com.google.truth:truth:1.4.2") } diff --git a/affectedmoduledetector/src/test/kotlin/com/dropbox/affectedmoduledetector/AttachLogsTestRule.kt b/affectedmoduledetector/src/test/kotlin/com/dropbox/affectedmoduledetector/AttachLogsTestRule.kt index 624f448..6ed5e8e 100644 --- a/affectedmoduledetector/src/test/kotlin/com/dropbox/affectedmoduledetector/AttachLogsTestRule.kt +++ b/affectedmoduledetector/src/test/kotlin/com/dropbox/affectedmoduledetector/AttachLogsTestRule.kt @@ -1,9 +1,9 @@ package com.dropbox.affectedmoduledetector -import com.nhaarman.mockito_kotlin.mock import org.junit.rules.TestRule import org.junit.runner.Description import org.junit.runners.model.Statement +import org.mockito.kotlin.mock /** * Special rule for dependency detector tests that will attach logs to a failure.