Skip to content

Commit 340d83e

Browse files
committed
fix: test
1 parent fa3e485 commit 340d83e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import org.mockito.kotlin.whenever
1717
import org.mockito.kotlin.wheneverBlocking
1818
import to.bitkit.data.AppDb
1919
import to.bitkit.data.AppStorage
20+
import to.bitkit.data.CacheStore
2021
import to.bitkit.data.SettingsStore
2122
import to.bitkit.data.keychain.Keychain
2223
import to.bitkit.services.CoreService
@@ -42,6 +43,7 @@ class WalletRepoTest : BaseUnitTest() {
4243
private val addressChecker: AddressChecker = mock()
4344
private val lightningRepo: LightningRepo = mock()
4445

46+
private val cacheStore: CacheStore = mock()
4547
@Before
4648
fun setUp() {
4749
wheneverBlocking { coreService.shouldBlockLightning() }.thenReturn(false)
@@ -61,6 +63,7 @@ class WalletRepoTest : BaseUnitTest() {
6163
settingsStore = settingsStore,
6264
addressChecker = addressChecker,
6365
lightningRepo = lightningRepo,
66+
cacheStore = cacheStore
6467
)
6568
}
6669

@@ -130,6 +133,7 @@ class WalletRepoTest : BaseUnitTest() {
130133
settingsStore = settingsStore,
131134
addressChecker = addressChecker,
132135
lightningRepo = lightningRepo,
136+
cacheStore = cacheStore
133137
)
134138

135139
val result = nonRegtestRepo.wipeWallet()

0 commit comments

Comments
 (0)