From 707f5a1070505c762803f4bd2706cc0d42417278 Mon Sep 17 00:00:00 2001 From: Don Turner Date: Fri, 21 Oct 2022 23:36:50 +0100 Subject: [PATCH] Fix UI tests --- .../apps/nowinandroid/feature/foryou/ForYouScreenTest.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/feature/foryou/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreenTest.kt b/feature/foryou/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreenTest.kt index e06981709..af5f07372 100644 --- a/feature/foryou/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreenTest.kt +++ b/feature/foryou/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreenTest.kt @@ -53,7 +53,6 @@ class ForYouScreenTest { composeTestRule.setContent { BoxWithConstraints { ForYouScreen( - isOffline = false, isSyncing = false, interestsSelectionState = ForYouInterestsSelectionUiState.Loading, feedState = NewsFeedUiState.Loading, @@ -77,7 +76,6 @@ class ForYouScreenTest { composeTestRule.setContent { BoxWithConstraints { ForYouScreen( - isOffline = false, isSyncing = true, interestsSelectionState = ForYouInterestsSelectionUiState.NoInterestsSelection, feedState = NewsFeedUiState.Success(emptyList()), @@ -101,7 +99,6 @@ class ForYouScreenTest { composeTestRule.setContent { BoxWithConstraints { ForYouScreen( - isOffline = false, isSyncing = false, interestsSelectionState = ForYouInterestsSelectionUiState.WithInterestsSelection( @@ -151,7 +148,6 @@ class ForYouScreenTest { composeTestRule.setContent { BoxWithConstraints { ForYouScreen( - isOffline = false, isSyncing = false, interestsSelectionState = ForYouInterestsSelectionUiState.WithInterestsSelection( @@ -204,7 +200,6 @@ class ForYouScreenTest { composeTestRule.setContent { BoxWithConstraints { ForYouScreen( - isOffline = false, isSyncing = false, interestsSelectionState = ForYouInterestsSelectionUiState.WithInterestsSelection( @@ -257,7 +252,6 @@ class ForYouScreenTest { composeTestRule.setContent { BoxWithConstraints { ForYouScreen( - isOffline = false, isSyncing = false, interestsSelectionState = ForYouInterestsSelectionUiState.WithInterestsSelection( @@ -285,7 +279,6 @@ class ForYouScreenTest { composeTestRule.setContent { BoxWithConstraints { ForYouScreen( - isOffline = false, isSyncing = false, interestsSelectionState = ForYouInterestsSelectionUiState.NoInterestsSelection, feedState = NewsFeedUiState.Loading, @@ -308,7 +301,6 @@ class ForYouScreenTest { fun feed_whenNoInterestsSelectionAndLoaded_showsFeed() { composeTestRule.setContent { ForYouScreen( - isOffline = false, isSyncing = false, interestsSelectionState = ForYouInterestsSelectionUiState.NoInterestsSelection, feedState = NewsFeedUiState.Success(