Skip to content

Commit

Permalink
remove deprecated usage of play.api.Configuration ++
Browse files Browse the repository at this point in the history
  • Loading branch information
naferx authored and mkurz committed Mar 14, 2024
1 parent 7c5afaf commit 2bc344d
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -459,7 +459,11 @@ trait WebSocketSpecMethods extends PlaySpecification with WsTestClient with Serv
currentApp.set(app)
val testServer = TestServer(testServerPort, app)
val configuredTestServer =
testServer.copy(config = testServer.config.copy(configuration = testServer.config.configuration ++ config))
testServer.copy(config =
testServer.config.copy(configuration =
Configuration(config.underlying.withFallback(testServer.config.configuration.underlying))
)
)
runningWithPort(configuredTestServer)(port => block(app, port))
}

Expand Down

0 comments on commit 2bc344d

Please sign in to comment.