Skip to content

Commit d18a0eb

Browse files
committed
test: update tests
1 parent 816c076 commit d18a0eb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/src/test/java/to/bitkit/repositories/ActivityRepoTest.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ import org.mockito.kotlin.verify
1919
import org.mockito.kotlin.whenever
2020
import org.mockito.kotlin.wheneverBlocking
2121
import to.bitkit.data.AppCacheData
22+
import to.bitkit.data.AppDb
2223
import to.bitkit.data.CacheStore
2324
import to.bitkit.data.dto.PendingBoostActivity
2425
import to.bitkit.services.CoreService
2526
import to.bitkit.test.BaseUnitTest
27+
import to.bitkit.utils.AddressChecker
2628
import kotlin.test.assertEquals
2729
import kotlin.test.assertFalse
2830
import kotlin.test.assertNull
@@ -33,6 +35,8 @@ class ActivityRepoTest : BaseUnitTest() {
3335
private val coreService: CoreService = mock()
3436
private val lightningRepo: LightningRepo = mock()
3537
private val cacheStore: CacheStore = mock()
38+
private val addressChecker: AddressChecker = mock()
39+
private val db: AppDb = mock()
3640

3741
private lateinit var sut: ActivityRepo
3842

@@ -71,6 +75,8 @@ class ActivityRepoTest : BaseUnitTest() {
7175
coreService = coreService,
7276
lightningRepo = lightningRepo,
7377
cacheStore = cacheStore,
78+
addressChecker = addressChecker,
79+
db = db
7480
)
7581
}
7682

0 commit comments

Comments
 (0)