From afcff0a39f6cf8291caa53a17bbccad51608e97a 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 | 7 ------- 1 file changed, 7 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..2c5a27289 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( @@ -204,7 +201,6 @@ class ForYouScreenTest { composeTestRule.setContent { BoxWithConstraints { ForYouScreen( - isOffline = false, isSyncing = false, interestsSelectionState = ForYouInterestsSelectionUiState.WithInterestsSelection( @@ -257,7 +253,6 @@ class ForYouScreenTest { composeTestRule.setContent { BoxWithConstraints { ForYouScreen( - isOffline = false, isSyncing = false, interestsSelectionState = ForYouInterestsSelectionUiState.WithInterestsSelection( @@ -285,7 +280,6 @@ class ForYouScreenTest { composeTestRule.setContent { BoxWithConstraints { ForYouScreen( - isOffline = false, isSyncing = false, interestsSelectionState = ForYouInterestsSelectionUiState.NoInterestsSelection, feedState = NewsFeedUiState.Loading, @@ -308,7 +302,6 @@ class ForYouScreenTest { fun feed_whenNoInterestsSelectionAndLoaded_showsFeed() { composeTestRule.setContent { ForYouScreen( - isOffline = false, isSyncing = false, interestsSelectionState = ForYouInterestsSelectionUiState.NoInterestsSelection, feedState = NewsFeedUiState.Success(