Update tests

This commit is contained in:
Mikołaj Pich 2019-12-07 22:44:29 +01:00
parent c53e4ead91
commit 25791ba25d
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA

View file

@ -46,7 +46,7 @@ class ApiRemoteTest : BaseTest() {
loginType = Api.LoginType.STANDARD
ssl = true
host = "fakelog.cf"
symbol = "Default"
symbol = "powiatwulkanowy"
email = "jan@fakelog.cf"
password = "jan123"
schoolSymbol = "123456"
@ -73,7 +73,7 @@ class ApiRemoteTest : BaseTest() {
val values = studentObserver.values()[0]
values[0].run {
assertEquals("Default", symbol)
assertEquals("powiatwulkanowy", symbol)
assertEquals("jan@fakelog.cf", email)
assertEquals("Jan Kowalski", studentName)
assertEquals("123456", schoolSymbol)
@ -468,7 +468,7 @@ class ApiRemoteTest : BaseTest() {
tokenObserver.values()[0].run {
assertEquals("FK100000", token)
assertEquals("Default", symbol)
assertEquals("powiatwulkanowy", symbol)
assertEquals("999999", pin)
}
}