aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-07-06 15:45:50 +0200
committeradamw <adam@warski.org>2017-07-06 15:45:50 +0200
commitd1c5efa7a05875ef6a24946bc86e395cbc6cac30 (patch)
tree1d1d28b114861868448ec0f5bb6e7685dc099301 /tests
parente4507b7f26c3091c4bd00c99f5320ff816f9bc6a (diff)
downloadsttp-d1c5efa7a05875ef6a24946bc86e395cbc6cac30.tar.gz
sttp-d1c5efa7a05875ef6a24946bc86e395cbc6cac30.tar.bz2
sttp-d1c5efa7a05875ef6a24946bc86e395cbc6cac30.zip
Further simplifying requesting streaming responses
Diffstat (limited to 'tests')
-rw-r--r--tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala3
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 {