Skip to content

Commit

Permalink
Directly inject Ktorfit object in class implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso committed Oct 29, 2023
1 parent 8fbbb47 commit dd9347e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class ClientTest {

val ktorfit = Ktorfit.Builder().baseUrl("http://www.test.de/").build()

val converted = (KtorfitClient(ktorfit) as Client).convertParameterType("4", String::class, Int::class)
val converted = KtorfitConverterHelper(ktorfit).convertParameterType("4", String::class, Int::class)
assertEquals(4, converted)

} catch (ex: Exception) {
Expand Down

0 comments on commit dd9347e

Please sign in to comment.