Skip to content

Commit

Permalink
Refactor layer creation
Browse files Browse the repository at this point in the history
  • Loading branch information
mvelimir committed Feb 22, 2023
1 parent 6356fa4 commit b77f93d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ trait WireMockSpec extends ZIOSpecDefault {
val port: Int = 9300

val elasticsearchWireMockLayer: TaskLayer[ElasticExecutor] =
HttpClientZioBackend.layer() >>> (ZLayer.succeed(ElasticConfig.apply("localhost", port)) >>> ElasticExecutor.live)
(HttpClientZioBackend.layer() ++ ZLayer.succeed(ElasticConfig.apply("localhost", port))) >>> ElasticExecutor.live

val wireMockServerLayer: TaskLayer[WireMockServer] = {
val server = ZIO.acquireRelease(
Expand Down

0 comments on commit b77f93d

Please sign in to comment.