forked from github/wulkanowy-mirror
Logger refactor (#175)
This commit is contained in:

committed by
Rafał Borcz

parent
7f6f632b73
commit
5e30c8e949
@ -123,7 +123,7 @@ class LoginFormPresenterTest {
|
||||
|
||||
@Test
|
||||
fun loginErrorTest() {
|
||||
val testException = RuntimeException()
|
||||
val testException = RuntimeException("test")
|
||||
doReturn(Single.error<List<Student>>(testException))
|
||||
.`when`(repository).getConnectedStudents(anyString(), anyString(), anyString(), anyString())
|
||||
presenter.attemptLogin("@", "123456", "test", "https://fakelog.cf")
|
||||
|
Reference in New Issue
Block a user