diff --git a/dependencies.gradle b/dependencies.gradle index db4a961648f..208246170d9 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -29,7 +29,7 @@ def vanniktechEmoji = "0.16.0-SNAPSHOT" def sentry = "6.6.0" def fragment = "1.5.4" // Testing -def mockk = "1.12.3" // We need to use 1.12.3 to have mocking in androidTest until a new version is released: https://github.com/mockk/mockk/issues/819 +def mockk = "1.13.2" def espresso = "3.4.0" def androidxTest = "1.4.0" def androidxOrchestrator = "1.4.1" diff --git a/matrix-sdk-android/build.gradle b/matrix-sdk-android/build.gradle index 968d8515ac9..9f6aa5f567a 100644 --- a/matrix-sdk-android/build.gradle +++ b/matrix-sdk-android/build.gradle @@ -204,7 +204,6 @@ dependencies { implementation libs.google.phonenumber testImplementation libs.tests.junit - // Note: version sticks to 1.9.2 due to https://github.com/mockk/mockk/issues/281 testImplementation libs.mockk.mockk testImplementation libs.tests.kluent testImplementation libs.jetbrains.coroutinesTest diff --git a/vector-app/build.gradle b/vector-app/build.gradle index 9a0bfdfa63f..af8693fde1c 100644 --- a/vector-app/build.gradle +++ b/vector-app/build.gradle @@ -409,7 +409,6 @@ dependencies { androidTestImplementation('com.adevinta.android:barista:4.2.0') { exclude group: 'org.jetbrains.kotlin' } - androidTestImplementation libs.mockk.mockkAndroid androidTestUtil libs.androidx.orchestrator androidTestImplementation libs.androidx.fragmentTesting androidTestImplementation "org.jetbrains.kotlin:kotlin-reflect:1.7.20"