Skip to content

Commit 2e8e04f

Browse files
committed
Fix ChatMapperTest for formatMessageInfo signature change
1 parent 133dc4a commit 2e8e04f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

data/src/test/java/org/monogram/data/mapper/ChatMapperTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ChatMapperTest {
1818
val timestampSeconds = 1710948000
1919
val message = createTextMessage(timestampSeconds)
2020

21-
val (_, _, time) = mapper.formatMessageInfo(message, null) { null }
21+
val (_, _, time) = mapper.formatMessageInfo(message) { null }
2222

2323
val expected =
2424
SimpleDateFormat("h:mm a", Locale.getDefault()).format(Date(timestampSeconds * 1000L))
@@ -31,7 +31,7 @@ class ChatMapperTest {
3131
val timestampSeconds = 1710948000
3232
val message = createTextMessage(timestampSeconds)
3333

34-
val (_, _, time) = mapper.formatMessageInfo(message, null) { null }
34+
val (_, _, time) = mapper.formatMessageInfo(message) { null }
3535

3636
val expected =
3737
SimpleDateFormat("HH:mm", Locale.getDefault()).format(Date(timestampSeconds * 1000L))

0 commit comments

Comments
 (0)