Fix tests

This commit is contained in:
Mikołaj Pich 2020-10-15 11:59:15 +02:00
parent e769c833ad
commit fae6cdc6cb

View file

@ -4,7 +4,7 @@ import io.github.wulkanowy.sdk.scrapper.BaseLocalTest
import io.github.wulkanowy.sdk.scrapper.OkHttpClientBuilderFactory
import io.github.wulkanowy.sdk.scrapper.Scrapper
import io.github.wulkanowy.sdk.scrapper.exception.ScrapperException
import io.github.wulkanowy.sdk.scrapper.exception.VulcanException
import io.github.wulkanowy.sdk.scrapper.exception.ServiceUnavailableException
import io.github.wulkanowy.sdk.scrapper.interceptor.ErrorInterceptorTest
import io.github.wulkanowy.sdk.scrapper.login.LoginTest
import io.github.wulkanowy.sdk.scrapper.notes.NotesTest
@ -106,6 +106,6 @@ class ServiceManagerTest : BaseLocalTest() {
val exception = res.exceptionOrNull()!!
assertEquals("503: Server Error", exception.message)
assertEquals(VulcanException::class.java, exception::class.java)
assertEquals(ServiceUnavailableException::class.java, exception::class.java)
}
}