=htp: reenable tests
This commit is contained in:
parent
880a6b64d0
commit
e4f1ce36ef
2 changed files with 3 additions and 5 deletions
|
|
@ -27,11 +27,10 @@ class BasicRouteSpecs extends RoutingSpec {
|
|||
} ~> check { rejections shouldEqual Seq(MethodRejection(GET), MethodRejection(PUT)) }
|
||||
}
|
||||
"clear rejections that have already been 'overcome' by previous directives" in {
|
||||
pending
|
||||
/*Put() ~> {
|
||||
Put() ~> {
|
||||
put { parameter('yeah) { echoComplete } } ~
|
||||
get { completeOk }
|
||||
} ~> check { rejection shouldEqual MissingQueryParamRejection("yeah") }*/
|
||||
} ~> check { rejection shouldEqual MissingQueryParamRejection("yeah") }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import akka.http.scaladsl.TestUtils.writeAllText
|
|||
class FileAndResourceDirectivesSpec extends RoutingSpec with Inspectors with Inside {
|
||||
|
||||
override def testConfigSource =
|
||||
"""akka.http.scaladsl.routing {
|
||||
"""akka.http.routing {
|
||||
| file-chunking-threshold-size = 16
|
||||
| file-chunking-chunk-size = 8
|
||||
| range-coalescing-threshold = 1
|
||||
|
|
@ -72,7 +72,6 @@ class FileAndResourceDirectivesSpec extends RoutingSpec with Inspectors with Ins
|
|||
}
|
||||
|
||||
"return multiple ranges from a file at once" in {
|
||||
pending // FIXME: reactivate
|
||||
val file = File.createTempFile("partialTest", null)
|
||||
try {
|
||||
writeAllText("ABCDEFGHIJKLMNOPQRSTUVWXYZ", file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue