Logger refactor (#175)

This commit is contained in:
Mikołaj Pich
2018-11-03 14:49:20 +01:00
committed by Rafał Borcz
parent 7f6f632b73
commit 5e30c8e949
22 changed files with 392 additions and 266 deletions

View File

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