From 77f568742cbcadde5a133d2084a25e46de422c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jc=20Mi=C3=B1arro?= Date: Mon, 9 Dec 2024 11:05:08 +0100 Subject: [PATCH] Fix compilation errors --- .../snapshot/compose/channels/ChannelItemTest.kt | 6 +++--- .../snapshot/compose/channels/ChannelListTest.kt | 16 ++++++++-------- .../channels/ChannelListItemViewTest.kt | 4 ++-- .../uicomponents/channels/ChannelListViewTest.kt | 16 ++++++++-------- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/compose/channels/ChannelItemTest.kt b/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/compose/channels/ChannelItemTest.kt index 7ca9c496e9f..fb30a3f877d 100644 --- a/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/compose/channels/ChannelItemTest.kt +++ b/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/compose/channels/ChannelItemTest.kt @@ -38,7 +38,7 @@ class ChannelItemTest : ComposeScreenshotTest() { TestData.message2(), ), unreadCount = 2, - lastMessageAt = TestData.date2(), + channelLastMessageAt = TestData.date2(), ), typingUsers = emptyList(), ), @@ -61,7 +61,7 @@ class ChannelItemTest : ComposeScreenshotTest() { TestData.message1(), TestData.message2(), ), - lastMessageAt = TestData.date2(), + channelLastMessageAt = TestData.date2(), ), typingUsers = emptyList(), ), @@ -84,7 +84,7 @@ class ChannelItemTest : ComposeScreenshotTest() { TestData.message1(), TestData.message2(), ), - lastMessageAt = TestData.date2(), + channelLastMessageAt = TestData.date2(), ), isMuted = true, typingUsers = emptyList(), diff --git a/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/compose/channels/ChannelListTest.kt b/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/compose/channels/ChannelListTest.kt index 28869528d7c..d9bb12b8f84 100644 --- a/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/compose/channels/ChannelListTest.kt +++ b/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/compose/channels/ChannelListTest.kt @@ -44,7 +44,7 @@ class ChannelListTest : ComposeScreenshotTest() { messages = listOf( TestData.message1(), ), - lastMessageAt = TestData.date1(), + channelLastMessageAt = TestData.date1(), ), typingUsers = emptyList(), ), @@ -57,7 +57,7 @@ class ChannelListTest : ComposeScreenshotTest() { messages = listOf( TestData.message2(), ), - lastMessageAt = TestData.date2(), + channelLastMessageAt = TestData.date2(), ), typingUsers = emptyList(), ), @@ -70,7 +70,7 @@ class ChannelListTest : ComposeScreenshotTest() { messages = listOf( TestData.message3(), ), - lastMessageAt = TestData.date3(), + channelLastMessageAt = TestData.date3(), ), typingUsers = emptyList(), ), @@ -83,7 +83,7 @@ class ChannelListTest : ComposeScreenshotTest() { messages = listOf( TestData.message4(), ), - lastMessageAt = TestData.date4(), + channelLastMessageAt = TestData.date4(), ), typingUsers = emptyList(), ), @@ -123,7 +123,7 @@ class ChannelListTest : ComposeScreenshotTest() { messages = listOf( TestData.message1(), ), - lastMessageAt = TestData.date1(), + channelLastMessageAt = TestData.date1(), ), typingUsers = emptyList(), ), @@ -136,7 +136,7 @@ class ChannelListTest : ComposeScreenshotTest() { messages = listOf( TestData.message2(), ), - lastMessageAt = TestData.date2(), + channelLastMessageAt = TestData.date2(), ), typingUsers = emptyList(), ), @@ -149,7 +149,7 @@ class ChannelListTest : ComposeScreenshotTest() { messages = listOf( TestData.message3(), ), - lastMessageAt = TestData.date3(), + channelLastMessageAt = TestData.date3(), ), typingUsers = emptyList(), ), @@ -162,7 +162,7 @@ class ChannelListTest : ComposeScreenshotTest() { messages = listOf( TestData.message4(), ), - lastMessageAt = TestData.date4(), + channelLastMessageAt = TestData.date4(), ), typingUsers = emptyList(), ), diff --git a/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/uicomponents/channels/ChannelListItemViewTest.kt b/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/uicomponents/channels/ChannelListItemViewTest.kt index a1cbafff633..45c89e4dc35 100644 --- a/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/uicomponents/channels/ChannelListItemViewTest.kt +++ b/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/uicomponents/channels/ChannelListItemViewTest.kt @@ -58,7 +58,7 @@ class ChannelListItemViewTest : ScreenshotTest { TestData.message2(), ), unreadCount = 2, - lastMessageAt = TestData.date2(), + channelLastMessageAt = TestData.date2(), ), ) } @@ -76,7 +76,7 @@ class ChannelListItemViewTest : ScreenshotTest { TestData.message1(), TestData.message2(), ), - lastMessageAt = TestData.date2(), + channelLastMessageAt = TestData.date2(), extraData = it.extraData + mapOf("mutedChannel" to true), // extraData = extraData["mutedChannel"] = true, ) diff --git a/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/uicomponents/channels/ChannelListViewTest.kt b/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/uicomponents/channels/ChannelListViewTest.kt index 36c902d51fa..104e3fa2449 100644 --- a/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/uicomponents/channels/ChannelListViewTest.kt +++ b/stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/uicomponents/channels/ChannelListViewTest.kt @@ -52,7 +52,7 @@ class ChannelListViewTest : ScreenshotTest { messages = listOf( TestData.message1(), ), - lastMessageAt = TestData.date1(), + channelLastMessageAt = TestData.date1(), ), emptyList(), ), @@ -65,7 +65,7 @@ class ChannelListViewTest : ScreenshotTest { messages = listOf( TestData.message2(), ), - lastMessageAt = TestData.date2(), + channelLastMessageAt = TestData.date2(), ), emptyList(), ), @@ -78,7 +78,7 @@ class ChannelListViewTest : ScreenshotTest { messages = listOf( TestData.message3(), ), - lastMessageAt = TestData.date3(), + channelLastMessageAt = TestData.date3(), ), emptyList(), ), @@ -91,7 +91,7 @@ class ChannelListViewTest : ScreenshotTest { messages = listOf( TestData.message4(), ), - lastMessageAt = TestData.date4(), + channelLastMessageAt = TestData.date4(), ), emptyList(), ), @@ -122,7 +122,7 @@ class ChannelListViewTest : ScreenshotTest { messages = listOf( TestData.message1(), ), - lastMessageAt = TestData.date1(), + channelLastMessageAt = TestData.date1(), ), emptyList(), ), @@ -135,7 +135,7 @@ class ChannelListViewTest : ScreenshotTest { messages = listOf( TestData.message2(), ), - lastMessageAt = TestData.date2(), + channelLastMessageAt = TestData.date2(), ), emptyList(), ), @@ -148,7 +148,7 @@ class ChannelListViewTest : ScreenshotTest { messages = listOf( TestData.message3(), ), - lastMessageAt = TestData.date3(), + channelLastMessageAt = TestData.date3(), ), emptyList(), ), @@ -161,7 +161,7 @@ class ChannelListViewTest : ScreenshotTest { messages = listOf( TestData.message4(), ), - lastMessageAt = TestData.date4(), + channelLastMessageAt = TestData.date4(), ), emptyList(), ),