Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation errors on the UI Tests Module #5509

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ChannelItemTest : ComposeScreenshotTest() {
TestData.message2(),
),
unreadCount = 2,
lastMessageAt = TestData.date2(),
channelLastMessageAt = TestData.date2(),
),
typingUsers = emptyList(),
),
Expand All @@ -61,7 +61,7 @@ class ChannelItemTest : ComposeScreenshotTest() {
TestData.message1(),
TestData.message2(),
),
lastMessageAt = TestData.date2(),
channelLastMessageAt = TestData.date2(),
),
typingUsers = emptyList(),
),
Expand All @@ -84,7 +84,7 @@ class ChannelItemTest : ComposeScreenshotTest() {
TestData.message1(),
TestData.message2(),
),
lastMessageAt = TestData.date2(),
channelLastMessageAt = TestData.date2(),
),
isMuted = true,
typingUsers = emptyList(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ChannelListTest : ComposeScreenshotTest() {
messages = listOf(
TestData.message1(),
),
lastMessageAt = TestData.date1(),
channelLastMessageAt = TestData.date1(),
),
typingUsers = emptyList(),
),
Expand All @@ -57,7 +57,7 @@ class ChannelListTest : ComposeScreenshotTest() {
messages = listOf(
TestData.message2(),
),
lastMessageAt = TestData.date2(),
channelLastMessageAt = TestData.date2(),
),
typingUsers = emptyList(),
),
Expand All @@ -70,7 +70,7 @@ class ChannelListTest : ComposeScreenshotTest() {
messages = listOf(
TestData.message3(),
),
lastMessageAt = TestData.date3(),
channelLastMessageAt = TestData.date3(),
),
typingUsers = emptyList(),
),
Expand All @@ -83,7 +83,7 @@ class ChannelListTest : ComposeScreenshotTest() {
messages = listOf(
TestData.message4(),
),
lastMessageAt = TestData.date4(),
channelLastMessageAt = TestData.date4(),
),
typingUsers = emptyList(),
),
Expand Down Expand Up @@ -123,7 +123,7 @@ class ChannelListTest : ComposeScreenshotTest() {
messages = listOf(
TestData.message1(),
),
lastMessageAt = TestData.date1(),
channelLastMessageAt = TestData.date1(),
),
typingUsers = emptyList(),
),
Expand All @@ -136,7 +136,7 @@ class ChannelListTest : ComposeScreenshotTest() {
messages = listOf(
TestData.message2(),
),
lastMessageAt = TestData.date2(),
channelLastMessageAt = TestData.date2(),
),
typingUsers = emptyList(),
),
Expand All @@ -149,7 +149,7 @@ class ChannelListTest : ComposeScreenshotTest() {
messages = listOf(
TestData.message3(),
),
lastMessageAt = TestData.date3(),
channelLastMessageAt = TestData.date3(),
),
typingUsers = emptyList(),
),
Expand All @@ -162,7 +162,7 @@ class ChannelListTest : ComposeScreenshotTest() {
messages = listOf(
TestData.message4(),
),
lastMessageAt = TestData.date4(),
channelLastMessageAt = TestData.date4(),
),
typingUsers = emptyList(),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ChannelListItemViewTest : ScreenshotTest {
TestData.message2(),
),
unreadCount = 2,
lastMessageAt = TestData.date2(),
channelLastMessageAt = TestData.date2(),
),
)
}
Expand All @@ -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,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ChannelListViewTest : ScreenshotTest {
messages = listOf(
TestData.message1(),
),
lastMessageAt = TestData.date1(),
channelLastMessageAt = TestData.date1(),
),
emptyList(),
),
Expand All @@ -65,7 +65,7 @@ class ChannelListViewTest : ScreenshotTest {
messages = listOf(
TestData.message2(),
),
lastMessageAt = TestData.date2(),
channelLastMessageAt = TestData.date2(),
),
emptyList(),
),
Expand All @@ -78,7 +78,7 @@ class ChannelListViewTest : ScreenshotTest {
messages = listOf(
TestData.message3(),
),
lastMessageAt = TestData.date3(),
channelLastMessageAt = TestData.date3(),
),
emptyList(),
),
Expand All @@ -91,7 +91,7 @@ class ChannelListViewTest : ScreenshotTest {
messages = listOf(
TestData.message4(),
),
lastMessageAt = TestData.date4(),
channelLastMessageAt = TestData.date4(),
),
emptyList(),
),
Expand Down Expand Up @@ -122,7 +122,7 @@ class ChannelListViewTest : ScreenshotTest {
messages = listOf(
TestData.message1(),
),
lastMessageAt = TestData.date1(),
channelLastMessageAt = TestData.date1(),
),
emptyList(),
),
Expand All @@ -135,7 +135,7 @@ class ChannelListViewTest : ScreenshotTest {
messages = listOf(
TestData.message2(),
),
lastMessageAt = TestData.date2(),
channelLastMessageAt = TestData.date2(),
),
emptyList(),
),
Expand All @@ -148,7 +148,7 @@ class ChannelListViewTest : ScreenshotTest {
messages = listOf(
TestData.message3(),
),
lastMessageAt = TestData.date3(),
channelLastMessageAt = TestData.date3(),
),
emptyList(),
),
Expand All @@ -161,7 +161,7 @@ class ChannelListViewTest : ScreenshotTest {
messages = listOf(
TestData.message4(),
),
lastMessageAt = TestData.date4(),
channelLastMessageAt = TestData.date4(),
),
emptyList(),
),
Expand Down
Loading