Skip to content

Commit ec23c77

Browse files
committed
Use Fragment 1.6.0 alpha to fix issue with test
https://issuetracker.google.com/issues/128612536
1 parent fed2ade commit ec23c77

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

dependencies.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ def jjwt = "0.11.5"
2828
// the whole commit which set version 0.16.0-SNAPSHOT
2929
def vanniktechEmoji = "0.16.0-SNAPSHOT"
3030
def sentry = "6.9.2"
31-
def fragment = "1.5.5"
31+
// Use 1.6.0 alpha to fix issue with test
32+
def fragment = "1.6.0-alpha04"
3233
// Testing
3334
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
3435
def espresso = "3.5.1"
@@ -56,6 +57,7 @@ ext.libs = [
5657
'exifinterface' : "androidx.exifinterface:exifinterface:1.3.5",
5758
'fragmentKtx' : "androidx.fragment:fragment-ktx:$fragment",
5859
'fragmentTesting' : "androidx.fragment:fragment-testing:$fragment",
60+
'fragmentTestingManifest' : "androidx.fragment:fragment-testing-manifest:$fragment",
5961
'constraintLayout' : "androidx.constraintlayout:constraintlayout:2.1.4",
6062
'work' : "androidx.work:work-runtime-ktx:2.7.1",
6163
'autoFill' : "androidx.autofill:autofill:1.1.0",

vector-app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ dependencies {
404404
androidTestUtil libs.androidx.orchestrator
405405
androidTestImplementation libs.androidx.fragmentTesting
406406
androidTestImplementation "org.jetbrains.kotlin:kotlin-reflect:1.8.0"
407-
debugImplementation libs.androidx.fragmentTesting
407+
debugImplementation libs.androidx.fragmentTestingManifest
408408
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.10'
409409
}
410410

vector/build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ dependencies {
330330
}
331331
androidTestImplementation libs.mockk.mockkAndroid
332332
androidTestUtil libs.androidx.orchestrator
333-
debugImplementation libs.androidx.fragmentTesting
333+
debugImplementation libs.androidx.fragmentTestingManifest
334+
androidTestImplementation libs.androidx.fragmentTesting
334335
androidTestImplementation "org.jetbrains.kotlin:kotlin-reflect:1.8.0"
335336
}

0 commit comments

Comments
 (0)