guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Ricardo Wurmus
Date: Wed, 30 Oct 2019 08:30:18 -0400 (EDT)

branch: master
commit e20ff86d97f7dd92dad140b5919e3cbdf2fb1ce6
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Oct 30 13:29:37 2019 +0100

    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"))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]