Use all optional api params in tests

This commit is contained in:
Mikołaj Pich 2018-08-24 22:25:32 +02:00
parent 237d606562
commit a3f59ad970
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA

View file

@ -10,6 +10,7 @@ import io.github.wulkanowy.api.register.Pupil
import io.github.wulkanowy.api.register.Semester
import io.github.wulkanowy.api.student.StudentInfo
import io.reactivex.observers.TestObserver
import okhttp3.logging.HttpLoggingInterceptor
import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Test
@ -23,6 +24,11 @@ class ApiTest {
@Before fun setUp() {
api.apply {
logLevel = HttpLoggingInterceptor.Level.BASIC
holdSession = false
ssl = true
host = "fakelog.cf"
symbol = "Default"
email = "jan@fakelog.cf"
password = "jan123"
schoolId = "123456"