From fae6cdc6cbd4ed9cbd2da593c2b0492835c2e018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Thu, 15 Oct 2020 11:59:15 +0200 Subject: [PATCH] Fix tests --- .../wulkanowy/sdk/scrapper/service/ServiceManagerTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk-scrapper/src/test/kotlin/io/github/wulkanowy/sdk/scrapper/service/ServiceManagerTest.kt b/sdk-scrapper/src/test/kotlin/io/github/wulkanowy/sdk/scrapper/service/ServiceManagerTest.kt index 573024dd..7aaaa0a3 100644 --- a/sdk-scrapper/src/test/kotlin/io/github/wulkanowy/sdk/scrapper/service/ServiceManagerTest.kt +++ b/sdk-scrapper/src/test/kotlin/io/github/wulkanowy/sdk/scrapper/service/ServiceManagerTest.kt @@ -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) } }