Skip to content

Commit

Permalink
Update zio, zio-streams, zio-test, ... to 2.1.3 (#3841)
Browse files Browse the repository at this point in the history
  • Loading branch information
softwaremill-ci authored Jun 20, 2024
1 parent b97d5b7 commit 5562b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion project/Versions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object Versions {
val refined = "0.11.2"
val iron = "2.5.0"
val enumeratum = "1.7.3"
val zio = "2.1.2"
val zio = "2.1.3"
val zioHttp = "3.0.0-RC8"
val zioInteropCats = "23.0.0.8"
val zioInteropReactiveStreams = "2.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import scala.concurrent.duration.FiniteDuration
class ZioHttpTestServerInterpreter(
eventLoopGroup: ZLayer[Any, Nothing, EventLoopGroup],
channelFactory: ZLayer[Any, Nothing, ChannelFactory[ServerChannel]]
)(implicit
trace: Trace
) extends TestServerInterpreter[Task, ZioStreams with WebSockets, ZioHttpServerOptions[Any], Routes[Any, Response]] {

override def route(
Expand All @@ -37,7 +35,7 @@ class ZioHttpTestServerInterpreter(
val effect: ZIO[Scope, Throwable, Port] =
(for {
driver <- ZIO.service[Driver]
result <- driver.start(trace)
result <- driver.start
_ <- driver.addApp[Any](routes.toList.reduce(_ ++ _), ZEnvironment())
} yield result.port)
.provideSome[Scope](
Expand Down

0 comments on commit 5562b0e

Please sign in to comment.