mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-17 04:20:00 +03:00
Enable Timber log in integration tests
This commit is contained in:
parent
91cf4b647d
commit
ddb00ba23a
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,7 @@ import kotlinx.coroutines.runBlocking
|
|||
import org.junit.Assert.assertEquals
|
||||
import org.junit.Assert.assertNotNull
|
||||
import org.junit.Assert.assertTrue
|
||||
import timber.log.Timber
|
||||
import java.util.ArrayList
|
||||
import java.util.UUID
|
||||
import java.util.concurrent.CountDownLatch
|
||||
|
@ -58,6 +59,8 @@ class CommonTestHelper(context: Context) {
|
|||
val matrix: Matrix
|
||||
|
||||
init {
|
||||
Timber.plant(Timber.DebugTree())
|
||||
|
||||
Matrix.initialize(context, MatrixConfiguration("TestFlavor"))
|
||||
|
||||
matrix = Matrix.getInstance(context)
|
||||
|
|
Loading…
Add table
Reference in a new issue