Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed May 9, 2024
1 parent 70f43d6 commit 4cfe7e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.gradle.api.tasks.wrapper.Wrapper.DistributionType.ALL
import java.lang.System.getProperty

plugins {
kotlin("jvm") version("1.9.23")
kotlin("jvm") version("1.9.24")
id("org.graalvm.buildtools.native") version("0.10.1")
}

Expand Down
3 changes: 2 additions & 1 deletion src/test/kotlin/ApplicationTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package org.example

import com.hexagonkt.core.logging.info
import com.hexagonkt.core.media.APPLICATION_JSON
import com.hexagonkt.core.urlOf
import com.hexagonkt.http.client.HttpClient
import com.hexagonkt.http.client.HttpClientSettings
import com.hexagonkt.http.client.jetty.JettyClientAdapter
Expand All @@ -26,7 +27,7 @@ import kotlin.test.assertEquals
@TestInstance(PER_CLASS)
internal class ApplicationTest {

private val baseUrl: URL by lazy { URL("http://localhost:${restApi.server.runtimePort}") }
private val baseUrl: URL by lazy { urlOf("http://localhost:${restApi.server.runtimePort}") }
private val settings: HttpClientSettings by lazy { HttpClientSettings(baseUrl) }
private val client: HttpClient by lazy { HttpClient(JettyClientAdapter(), settings) }

Expand Down

0 comments on commit 4cfe7e2

Please sign in to comment.