forked from github/wulkanowy-mirror
Fix error message snackbar (#201)
This commit is contained in:

committed by
Mikołaj Pich

parent
9c94305ba5
commit
04f386ea3d
@ -4,6 +4,7 @@ import io.github.wulkanowy.TestSchedulersProvider
|
||||
import io.github.wulkanowy.data.repositories.PreferencesRepository
|
||||
import io.github.wulkanowy.data.repositories.StudentRepository
|
||||
import io.github.wulkanowy.services.job.ServiceHelper
|
||||
import io.github.wulkanowy.ui.base.ErrorHandler
|
||||
import io.github.wulkanowy.utils.FirebaseAnalyticsHelper
|
||||
import org.junit.Before
|
||||
import org.junit.Test
|
||||
@ -15,7 +16,7 @@ import org.mockito.MockitoAnnotations
|
||||
class MainPresenterTest {
|
||||
|
||||
@Mock
|
||||
lateinit var errorHandler: MainErrorHandler
|
||||
lateinit var errorHandler: ErrorHandler
|
||||
|
||||
@Mock
|
||||
lateinit var studentRepository: StudentRepository
|
||||
|
@ -1,7 +1,7 @@
|
||||
package io.github.wulkanowy.ui.modules.splash
|
||||
|
||||
import io.github.wulkanowy.data.ErrorHandler
|
||||
import io.github.wulkanowy.data.repositories.StudentRepository
|
||||
import io.github.wulkanowy.ui.base.ErrorHandler
|
||||
import org.junit.Before
|
||||
import org.junit.Test
|
||||
import org.mockito.Mock
|
||||
|
Reference in New Issue
Block a user