From 57a8aefde6c07952d31bc31841ac827a634a3e6a Mon Sep 17 00:00:00 2001 From: Vivek Maskara Date: Thu, 5 Dec 2019 20:47:13 +0530 Subject: [PATCH] Use mockito for all tests instead of just for UI tests (#3277) --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index da9cc98ff..4f778983a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -68,6 +68,7 @@ dependencies { testImplementation 'com.squareup.okhttp3:mockwebserver:3.12.1' testImplementation "org.powermock:powermock-module-junit4:2.0.0-beta.5" testImplementation "org.powermock:powermock-api-mockito2:2.0.0-beta.5" + testImplementation 'org.mockito:mockito-core:2.23.0' // Android testing androidTestImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION" @@ -78,7 +79,6 @@ dependencies { androidTestImplementation 'androidx.test:rules:1.2.0' androidTestImplementation 'androidx.annotation:annotation:1.1.0' androidTestImplementation 'com.squareup.okhttp3:mockwebserver:3.12.1' - androidTestImplementation 'org.mockito:mockito-core:2.13.0' androidTestUtil 'androidx.test:orchestrator:1.2.0' // Debugging