diff options
author | adamw <adam@warski.org> | 2017-07-06 15:45:50 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-06 15:45:50 +0200 |
commit | d1c5efa7a05875ef6a24946bc86e395cbc6cac30 (patch) | |
tree | 1d1d28b114861868448ec0f5bb6e7685dc099301 /tests/src/test/scala | |
parent | e4507b7f26c3091c4bd00c99f5320ff816f9bc6a (diff) | |
download | sttp-d1c5efa7a05875ef6a24946bc86e395cbc6cac30.tar.gz sttp-d1c5efa7a05875ef6a24946bc86e395cbc6cac30.tar.bz2 sttp-d1c5efa7a05875ef6a24946bc86e395cbc6cac30.zip |
Further simplifying requesting streaming responses
Diffstat (limited to 'tests/src/test/scala')
-rw-r--r-- | tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala b/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala index 0f8fbf6..0f0f076 100644 --- a/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala +++ b/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala @@ -7,7 +7,6 @@ import akka.actor.ActorSystem import akka.http.scaladsl.Http import akka.http.scaladsl.server.Directives._ import com.softwaremill.sttp.akkahttp.AkkaHttpSttpHandler -import com.softwaremill.sttp.model.ResponseAsBasic import com.typesafe.scalalogging.StrictLogging import org.scalatest.concurrent.{IntegrationPatience, ScalaFutures} import org.scalatest.{BeforeAndAfterAll, FlatSpec, Matchers} @@ -59,7 +58,7 @@ class BasicTests extends FlatSpec with Matchers with BeforeAndAfterAll with Scal override def force[T](wrapped: Future[T]): T = wrapped.futureValue }) - def runTests[R[_]](name: String, handler: SttpHandler[R, Nothing, ResponseAsBasic], forceResponse: ForceWrappedValue[R]): Unit = { + def runTests[R[_]](name: String, handler: SttpHandler[R, Nothing], forceResponse: ForceWrappedValue[R]): Unit = { implicit val h = handler name should "make a get request with parameters" in { |