diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 636fa369f..53d32266f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ on: push: branches: [ "master" ] pull_request: - branches: [ "master" ] workflow_dispatch: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 63a0c0db9..fc713221c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,7 +4,6 @@ on: push: branches: [ "master" ] pull_request: - branches: [ "master" ] concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/app/src/test/java/to/bitkit/repositories/ActivityRepoTest.kt b/app/src/test/java/to/bitkit/repositories/ActivityRepoTest.kt index 998c38a45..fe7d206cf 100644 --- a/app/src/test/java/to/bitkit/repositories/ActivityRepoTest.kt +++ b/app/src/test/java/to/bitkit/repositories/ActivityRepoTest.kt @@ -19,10 +19,12 @@ import org.mockito.kotlin.verify import org.mockito.kotlin.whenever import org.mockito.kotlin.wheneverBlocking import to.bitkit.data.AppCacheData +import to.bitkit.data.AppDb import to.bitkit.data.CacheStore import to.bitkit.data.dto.PendingBoostActivity import to.bitkit.services.CoreService import to.bitkit.test.BaseUnitTest +import to.bitkit.utils.AddressChecker import kotlin.test.assertEquals import kotlin.test.assertFalse import kotlin.test.assertNull @@ -33,6 +35,8 @@ class ActivityRepoTest : BaseUnitTest() { private val coreService: CoreService = mock() private val lightningRepo: LightningRepo = mock() private val cacheStore: CacheStore = mock() + private val addressChecker: AddressChecker = mock() + private val db: AppDb = mock() private lateinit var sut: ActivityRepo @@ -71,6 +75,8 @@ class ActivityRepoTest : BaseUnitTest() { coreService = coreService, lightningRepo = lightningRepo, cacheStore = cacheStore, + addressChecker = addressChecker, + db = db ) }