Fix error message snackbar (#201)

This commit is contained in:
Rafał Borcz
2018-12-17 00:17:21 +01:00
committed by Mikołaj Pich
parent 9c94305ba5
commit 04f386ea3d
54 changed files with 140 additions and 113 deletions

View File

@ -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

View File

@ -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