Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Feb 7, 2025
1 parent 9ed2a31 commit 8c1ca54
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sttp.tapir.client.sttp
package sttp.tapir.client.sttp4

import cats.effect.IO

Expand All @@ -23,9 +23,9 @@ abstract class SttpClientTests[R >: Any] extends ClientTests[R] {
): IO[Either[E, O]] = {
implicit val wst: WebSocketToPipe[R] = wsToPipe
val genReq = SttpClientInterpreter()
.toSecureRequestThrowDecodeFailures(e, Some(uri"$scheme://localhost:$port"))
.apply(securityArgs)
.apply(args)
.toSecureRequestThrowDecodeFailures(e, Some(uri"$scheme://localhost:$port"))
.apply(securityArgs)
.apply(args)
val response: Future[Either[E, O]] = GenericRequestExtensions.sendRequest(backend, genReq).map(_.body)
IO.fromFuture(IO(response))
}
Expand All @@ -38,9 +38,9 @@ abstract class SttpClientTests[R >: Any] extends ClientTests[R] {
): IO[DecodeResult[Either[E, O]]] = {
implicit val wst: WebSocketToPipe[R] = wsToPipe
val genReq = SttpClientInterpreter()
.toSecureRequest(e, Some(uri"http://localhost:$port"))
.apply(securityArgs)
.apply(args)
.toSecureRequest(e, Some(uri"http://localhost:$port"))
.apply(securityArgs)
.apply(args)

val response: Future[DecodeResult[Either[E, O]]] = GenericRequestExtensions.sendRequest(backend, genReq).map(_.body)
IO.fromFuture(IO(response))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sttp.tapir.client.sttp
package sttp.tapir.client.sttp4

import cats.effect.IO
import sttp.capabilities.WebSockets
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sttp.tapir.client.sttp
package sttp.tapir.client.sttp4

import cats.effect.IO
import sttp.capabilities.WebSockets
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sttp.tapir.client.sttp
package sttp.tapir.client.sttp4

import scala.util.Try
import cats.effect.IO
Expand Down

0 comments on commit 8c1ca54

Please sign in to comment.