From e20ff86d97f7dd92dad140b5919e3cbdf2fb1ce6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 30 Oct 2019 13:29:37 +0100 Subject: tests: Remove 405 test. This is a follow-up to commit c88a7c006ef164015e5c3fb1544b8112bf6ececf. * tests/http.scm: Remove test for invalid POST to /build/1. --- tests/http.scm | 4 ---- 1 file changed, 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")))) -- cgit v1.2.3