diff --git a/akka-http-tests/src/test/scala/akka/http/server/directives/DebuggingDirectivesSpec.scala b/akka-http-tests/src/test/scala/akka/http/server/directives/DebuggingDirectivesSpec.scala index e4e128802b..38b36a892f 100644 --- a/akka-http-tests/src/test/scala/akka/http/server/directives/DebuggingDirectivesSpec.scala +++ b/akka-http-tests/src/test/scala/akka/http/server/directives/DebuggingDirectivesSpec.scala @@ -36,7 +36,7 @@ class DebuggingDirectivesSpec extends RoutingSpec { resetDebugMsg() Get("/hello") ~> route ~> check { response shouldEqual Ok - debugMsg shouldEqual "1: HttpRequest(HttpMethod(GET),http://example.com/hello,List(),Strict(none/none,ByteString()),HttpProtocol(HTTP/1.1))\n" + debugMsg shouldEqual "1: HttpRequest(HttpMethod(GET),http://example.com/hello,List(),HttpEntity.Strict(none/none,ByteString()),HttpProtocol(HTTP/1.1))\n" } } } @@ -51,7 +51,7 @@ class DebuggingDirectivesSpec extends RoutingSpec { resetDebugMsg() Get("/hello") ~> route ~> check { response shouldEqual Ok - debugMsg shouldEqual "2: Complete(HttpResponse(200 OK,List(),Strict(none/none,ByteString()),HttpProtocol(HTTP/1.1)))\n" + debugMsg shouldEqual "2: Complete(HttpResponse(200 OK,List(),HttpEntity.Strict(none/none,ByteString()),HttpProtocol(HTTP/1.1)))\n" } } } @@ -67,8 +67,8 @@ class DebuggingDirectivesSpec extends RoutingSpec { Get("/hello") ~> route ~> check { response shouldEqual Ok debugMsg shouldEqual """|3: Response for - | Request : HttpRequest(HttpMethod(GET),http://example.com/hello,List(),Strict(none/none,ByteString()),HttpProtocol(HTTP/1.1)) - | Response: Complete(HttpResponse(200 OK,List(),Strict(none/none,ByteString()),HttpProtocol(HTTP/1.1))) + | Request : HttpRequest(HttpMethod(GET),http://example.com/hello,List(),HttpEntity.Strict(none/none,ByteString()),HttpProtocol(HTTP/1.1)) + | Response: Complete(HttpResponse(200 OK,List(),HttpEntity.Strict(none/none,ByteString()),HttpProtocol(HTTP/1.1))) |""".stripMarginWithNewline("\n") } }