Fix tests
This commit is contained in:
parent
e769c833ad
commit
fae6cdc6cb
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue