Skip to content

Commit

Permalink
reverter random ports i tester
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasvinjevoll committed Sep 10, 2024
1 parent 9ba8ad5 commit 403df9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/test/kotlin/no/nav/aap/brev/AppTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import java.net.http.HttpResponse
class AppTest {

companion object {
private val fakes = Fakes()
private val fakes = Fakes(azurePort = 8081)

val httpClient = HttpClient.newBuilder().build()
private val restClient = RestClient(
Expand All @@ -30,7 +30,7 @@ class AppTest {
)

// Starter server
private val server = embeddedServer(Netty, port = 0) {
private val server = embeddedServer(Netty, port = 8080) {
server(/*dbConfig = dbConfig*/)
module(fakes)
}.start()
Expand Down

0 comments on commit 403df9b

Please sign in to comment.