From 2206dfab65d094021a38a59d0b0e09c4f021ba2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Kr=C3=BCger?= Date: Wed, 8 Dec 2021 12:43:34 +0100 Subject: [PATCH] Revert 'mockito-core' to 3.12.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With 'mockito-core' 4.0.0 an bug in combination with powermock is introduced [1]. So the version is reverted to 3.12.4, the last version before 4.0.0. See: [1] https://github.com/powermock/powermock/issues/1109 Signed-off-by: Tim Krüger --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 0f2d66e87..1824b4f19 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -292,7 +292,7 @@ dependencies { implementation 'androidx.core:core-ktx:1.6.0' testImplementation 'junit:junit:4.13.2' - testImplementation 'org.mockito:mockito-core:4.0.0' + testImplementation 'org.mockito:mockito-core:3.12.4' testImplementation "org.powermock:powermock-core:${powermockVersion}" testImplementation "org.powermock:powermock-module-junit4:${powermockVersion}" testImplementation "org.powermock:powermock-api-mockito2:${powermockVersion}"