aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala')
-rw-r--r--core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala b/core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala
index c9b94c0..f3d2cd4 100644
--- a/core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala
+++ b/core/src/test/scala/com/softwaremill/sttp/testing/SttpBackendStubTests.scala
@@ -20,11 +20,11 @@ class SttpBackendStubTests extends FlatSpec with Matchers with ScalaFutures {
case r
if r.method == Method.POST && r.uri.path.endsWith(
List("partial10")) =>
- Response(Right(10), 200, Nil, Nil)
+ Response(Right(10), 200, "OK", Nil, Nil)
case r
if r.method == Method.POST && r.uri.path.endsWith(
List("partialAda")) =>
- Response(Right("Ada"), 200, Nil, Nil)
+ Response(Right("Ada"), 200, "OK", Nil, Nil)
})
"backend stub" should "use the first rule if it matches" in {