upgrade(docker)
This commit is contained in:
-2
@@ -1,7 +1,5 @@
|
||||
package at.mocode.client.data.service
|
||||
|
||||
import kotlinx.serialization.encodeToString
|
||||
import kotlinx.serialization.decodeFromString
|
||||
import kotlinx.serialization.json.Json
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-1
@@ -134,7 +134,7 @@ class PingServiceTest {
|
||||
@Test
|
||||
fun `should properly encapsulate HttpClient lifecycle`() {
|
||||
// Given
|
||||
var client: HttpClient? = null
|
||||
val client: HttpClient? = null
|
||||
|
||||
// When
|
||||
val service = PingService()
|
||||
|
||||
+3
-2
@@ -2,8 +2,9 @@ package at.mocode.client.ui.viewmodel
|
||||
|
||||
import at.mocode.client.data.service.PingResponse
|
||||
import at.mocode.client.data.service.PingService
|
||||
import kotlinx.coroutines.*
|
||||
import kotlinx.coroutines.test.*
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.cancel
|
||||
import kotlin.test.*
|
||||
|
||||
@OptIn(kotlinx.coroutines.ExperimentalCoroutinesApi::class)
|
||||
|
||||
Reference in New Issue
Block a user