Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Garzas committed Jan 13, 2025
1 parent 9b8b3a4 commit 7398f6e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2350,7 +2350,6 @@ class MessageDAOTest : BaseDatabaseTest() {
}

@Test
<<<<<<< HEAD
fun givenMessagesAndUsersAreInserted_whenGettingSenderNameByMessageId_thenOnlyRelevantNameReturned() = runTest {
insertInitialData()

Expand Down Expand Up @@ -2458,7 +2457,9 @@ class MessageDAOTest : BaseDatabaseTest() {
val result = messageDAO.getNextAudioMessageInConversation("1", conversationEntity1.id)

assertEquals("3", result)
=======
}

@Test
fun givenAllTypesOfMessages_whenMovingToAnotherConversation_thenItSucceeds() = runTest {
// Given
insertInitialData()
Expand All @@ -2482,7 +2483,6 @@ class MessageDAOTest : BaseDatabaseTest() {
assertNull(exception, "Expected no exception but got: ${exception?.message}")
val result = messageDAO.getMessagesByConversationAndVisibility(conversationEntity2.id, 100, 0).first()
assertEquals(messages.size, result.size)
>>>>>>> 3b9629000e (fix: messages migration from proteus to mls (#3218))
}

private suspend fun insertInitialData() {
Expand Down

0 comments on commit 7398f6e

Please sign in to comment.