mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 10:49:04 +03:00
fix test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
dbae9443eb
commit
d721941032
1 changed files with 6 additions and 1 deletions
|
@ -29,6 +29,7 @@ import com.nextcloud.client.account.UserAccountManager
|
||||||
import com.nextcloud.client.core.Clock
|
import com.nextcloud.client.core.Clock
|
||||||
import com.nextcloud.client.device.DeviceInfo
|
import com.nextcloud.client.device.DeviceInfo
|
||||||
import com.nextcloud.client.device.PowerManagementService
|
import com.nextcloud.client.device.PowerManagementService
|
||||||
|
import com.nextcloud.client.integrations.deck.DeckApi
|
||||||
import com.nextcloud.client.logger.Logger
|
import com.nextcloud.client.logger.Logger
|
||||||
import com.nextcloud.client.network.ConnectivityService
|
import com.nextcloud.client.network.ConnectivityService
|
||||||
import com.nextcloud.client.preferences.AppPreferences
|
import com.nextcloud.client.preferences.AppPreferences
|
||||||
|
@ -94,6 +95,9 @@ class BackgroundJobFactoryTest {
|
||||||
@Mock
|
@Mock
|
||||||
private lateinit var eventBus: EventBus
|
private lateinit var eventBus: EventBus
|
||||||
|
|
||||||
|
@Mock
|
||||||
|
private lateinit var deckApi: DeckApi
|
||||||
|
|
||||||
private lateinit var factory: BackgroundJobFactory
|
private lateinit var factory: BackgroundJobFactory
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
|
@ -113,7 +117,8 @@ class BackgroundJobFactoryTest {
|
||||||
uploadsStorageManager,
|
uploadsStorageManager,
|
||||||
connectivityService,
|
connectivityService,
|
||||||
notificationManager,
|
notificationManager,
|
||||||
eventBus
|
eventBus,
|
||||||
|
deckApi
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue