aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-10-30 13:29:37 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-10-30 13:29:37 +0100
commite20ff86d97f7dd92dad140b5919e3cbdf2fb1ce6 (patch)
tree5b1323fe239312c8e20ec0a7f9ba258c8b54c883
parent647f3961fa18bcb87f1ae9b6531644ba147dec72 (diff)
downloadcuirass-e20ff86d97f7dd92dad140b5919e3cbdf2fb1ce6.tar
cuirass-e20ff86d97f7dd92dad140b5919e3cbdf2fb1ce6.tar.gz
tests: Remove 405 test.
This is a follow-up to commit c88a7c006ef164015e5c3fb1544b8112bf6ececf. * tests/http.scm: Remove test for invalid POST to /build/1.
-rw-r--r--tests/http.scm4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/http.scm b/tests/http.scm
index 600f574..0b16790 100644
--- a/tests/http.scm
+++ b/tests/http.scm
@@ -198,10 +198,6 @@
(object->json-string build-query-result)
json->scm)))
- (test-equal "POST /build/1"
- 405 ;Method Not Allowed
- (response-code (http-post (test-cuirass-uri "/build/1"))))
-
(test-equal "/build/1/log/raw"
`(302 ,(string->uri-reference "/log/fake-1.0"))
(let ((response (http-get (test-cuirass-uri "/build/1/log/raw"))))