From ee4aad925f0f2faa3f3d61156e28b376221a7d65 Mon Sep 17 00:00:00 2001 From: Don Turner Date: Thu, 27 Jun 2024 15:42:04 +0100 Subject: [PATCH] Update navigation to 2.8.0-beta04, remove Robolectric to reproduce test failures Change-Id: If0ae8bae3b64e724b2d9ff012396d5941a866ce7 --- .../apps/nowinandroid/feature/topic/TopicViewModelTest.kt | 2 +- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/feature/topic/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/topic/TopicViewModelTest.kt b/feature/topic/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/topic/TopicViewModelTest.kt index c14e62e31..c5329fb81 100644 --- a/feature/topic/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/topic/TopicViewModelTest.kt +++ b/feature/topic/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/topic/TopicViewModelTest.kt @@ -52,7 +52,7 @@ import kotlin.test.assertIs * TODO: Remove Robolectric if/when AndroidX Navigation API is updated to remove Android dependency. * * See b/340966212. */ -@RunWith(RobolectricTestRunner::class) +//@RunWith(RobolectricTestRunner::class) class TopicViewModelTest { @get:Rule diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5536353e2..4ffba4814 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -21,7 +21,7 @@ androidxHiltNavigationCompose = "1.2.0" androidxLifecycle = "2.7.0" androidxMacroBenchmark = "1.2.4" androidxMetrics = "1.0.0-alpha04" -androidxNavigation = "2.8.0-beta01" +androidxNavigation = "2.8.0-beta04" androidxProfileinstaller = "1.3.1" androidxTestCore = "1.5.0" androidxTestExt = "1.1.5"