Update okhttp, fix tests
This commit is contained in:
parent
50ce4f57b7
commit
863073bfc2
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
okhttp3 = "3.12.0"
|
okhttp3 = "3.12.1"
|
||||||
retrofit = "2.5.0"
|
retrofit = "2.5.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ class UonetTest {
|
||||||
pupilSubscriber.assertComplete()
|
pupilSubscriber.assertComplete()
|
||||||
pupilSubscriber.assertNoErrors()
|
pupilSubscriber.assertNoErrors()
|
||||||
assertEquals("Ok", pupilSubscriber.values()[0].status)
|
assertEquals("Ok", pupilSubscriber.values()[0].status)
|
||||||
assertEquals(1, pupilSubscriber.values()[0].data!!.size)
|
assertEquals(2, pupilSubscriber.values()[0].data!!.size)
|
||||||
|
|
||||||
student = pupilSubscriber.values()[0].data!![0]
|
student = pupilSubscriber.values()[0].data!![0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue