mirror of
https://github.com/nextcloud/talk-android
synced 2025-08-05 02:55:28 +01:00
fixed testChatBlocks
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
This commit is contained in:
parent
79a48c3f61
commit
2a5dfd89b8
@ -26,6 +26,8 @@ import org.junit.Before
|
|||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
import org.junit.runner.RunWith
|
import org.junit.runner.RunWith
|
||||||
import java.lang.Boolean
|
import java.lang.Boolean
|
||||||
|
import kotlin.Long
|
||||||
|
import kotlin.String
|
||||||
|
|
||||||
@RunWith(AndroidJUnit4::class)
|
@RunWith(AndroidJUnit4::class)
|
||||||
class ChatBlocksDaoTest {
|
class ChatBlocksDaoTest {
|
||||||
@ -58,6 +60,7 @@ class ChatBlocksDaoTest {
|
|||||||
val account1 = usersDao.getUserWithUserId("account1").blockingGet()
|
val account1 = usersDao.getUserWithUserId("account1").blockingGet()
|
||||||
|
|
||||||
conversationsDao.upsertConversations(
|
conversationsDao.upsertConversations(
|
||||||
|
accountId = user.id,
|
||||||
listOf(
|
listOf(
|
||||||
createConversationEntity(
|
createConversationEntity(
|
||||||
accountId = account1.id,
|
accountId = account1.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user