Update okhttp, fix tests

This commit is contained in:
Mikołaj Pich 2018-12-24 00:59:40 +01:00
parent 50ce4f57b7
commit 863073bfc2
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ repositories {
} }
ext { ext {
okhttp3 = "3.12.0" okhttp3 = "3.12.1"
retrofit = "2.5.0" retrofit = "2.5.0"
} }

View file

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