-
Notifications
You must be signed in to change notification settings - Fork 144
Open
Description
The tests that assert the pre-populated message count are failing due to the deletion logic in the 'Add second message' feature, which results in only one pre-populated message.
The expected message count is 2, but actual message count is 1.
fun SupportSQLiteDatabase.populateInitialData() {
...
// Add second message <<< This one is removed.
insert(
table = "Message",
conflictAlgorithm = SQLiteDatabase.CONFLICT_NONE,
values = ContentValues().apply {
put("id", (index * 2).toLong() + 1L)
put("chatId", chatIds[index])
put("senderId", contact.id)
put("text", "I will reply in 5 seconds")
put("timestamp", now + chatIds[index])
},
)
...
}
Metadata
Metadata
Assignees
Labels
No labels