Skip to content

Commit b9156f6

Browse files
committed
Fix UI tests
1 parent 5051874 commit b9156f6

File tree

1 file changed

+0
-8
lines changed
  • feature/foryou/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/foryou

1 file changed

+0
-8
lines changed

feature/foryou/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreenTest.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class ForYouScreenTest {
5353
composeTestRule.setContent {
5454
BoxWithConstraints {
5555
ForYouScreen(
56-
isOffline = false,
5756
isSyncing = false,
5857
interestsSelectionState = ForYouInterestsSelectionUiState.Loading,
5958
feedState = NewsFeedUiState.Loading,
@@ -77,7 +76,6 @@ class ForYouScreenTest {
7776
composeTestRule.setContent {
7877
BoxWithConstraints {
7978
ForYouScreen(
80-
isOffline = false,
8179
isSyncing = true,
8280
interestsSelectionState = ForYouInterestsSelectionUiState.NoInterestsSelection,
8381
feedState = NewsFeedUiState.Success(emptyList()),
@@ -101,7 +99,6 @@ class ForYouScreenTest {
10199
composeTestRule.setContent {
102100
BoxWithConstraints {
103101
ForYouScreen(
104-
isOffline = false,
105102
isSyncing = false,
106103
interestsSelectionState =
107104
ForYouInterestsSelectionUiState.WithInterestsSelection(
@@ -151,7 +148,6 @@ class ForYouScreenTest {
151148
composeTestRule.setContent {
152149
BoxWithConstraints {
153150
ForYouScreen(
154-
isOffline = false,
155151
isSyncing = false,
156152
interestsSelectionState =
157153
ForYouInterestsSelectionUiState.WithInterestsSelection(
@@ -204,7 +200,6 @@ class ForYouScreenTest {
204200
composeTestRule.setContent {
205201
BoxWithConstraints {
206202
ForYouScreen(
207-
isOffline = false,
208203
isSyncing = false,
209204
interestsSelectionState =
210205
ForYouInterestsSelectionUiState.WithInterestsSelection(
@@ -257,7 +252,6 @@ class ForYouScreenTest {
257252
composeTestRule.setContent {
258253
BoxWithConstraints {
259254
ForYouScreen(
260-
isOffline = false,
261255
isSyncing = false,
262256
interestsSelectionState =
263257
ForYouInterestsSelectionUiState.WithInterestsSelection(
@@ -285,7 +279,6 @@ class ForYouScreenTest {
285279
composeTestRule.setContent {
286280
BoxWithConstraints {
287281
ForYouScreen(
288-
isOffline = false,
289282
isSyncing = false,
290283
interestsSelectionState = ForYouInterestsSelectionUiState.NoInterestsSelection,
291284
feedState = NewsFeedUiState.Loading,
@@ -308,7 +301,6 @@ class ForYouScreenTest {
308301
fun feed_whenNoInterestsSelectionAndLoaded_showsFeed() {
309302
composeTestRule.setContent {
310303
ForYouScreen(
311-
isOffline = false,
312304
isSyncing = false,
313305
interestsSelectionState = ForYouInterestsSelectionUiState.NoInterestsSelection,
314306
feedState = NewsFeedUiState.Success(

0 commit comments

Comments
 (0)