diff --git a/build.gradle b/build.gradle index 0ad4edf4b9..4f726546e6 100644 --- a/build.gradle +++ b/build.gradle @@ -311,7 +311,7 @@ dependencies { // dependencies for local unit tests testImplementation 'junit:junit:4.12' - testImplementation 'org.mockito:mockito-core:3.0.0' + testImplementation 'org.mockito:mockito-core:3.1.0' testImplementation 'androidx.test:core:1.2.0' testImplementation 'org.powermock:powermock-core:2.0.2' testImplementation 'org.powermock:powermock-module-junit4:2.0.2' @@ -330,7 +330,7 @@ dependencies { // Espresso core androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.2.0' - androidTestImplementation 'org.mockito:mockito-core:2.28.2' + androidTestImplementation 'org.mockito:mockito-core:3.1.0' // UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests // androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0' // fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details