about summary refs log tree commit homepage
path: root/t/cgi.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-04 11:32:00 +0000
committerEric Wong <e@80x24.org>2019-01-04 11:32:00 +0000
commit8c00f5572466200df6112b0f8401005e9377e5f8 (patch)
tree2fed623fac85dd97e2b5ee914424f0c4367148f5 /t/cgi.t
parentbfcbbb30ef2001d18219079a7379eb9c99d16cdc (diff)
downloadpublic-inbox-8c00f5572466200df6112b0f8401005e9377e5f8.tar.gz
No point in implementing these slowly with the CGI wrapper
when PSGI is sufficient for testing.
Diffstat (limited to 't/cgi.t')
-rw-r--r--t/cgi.t10
1 files changed, 0 insertions, 10 deletions
diff --git a/t/cgi.t b/t/cgi.t
index a25d2eeb..e705cd76 100644
--- a/t/cgi.t
+++ b/t/cgi.t
@@ -80,16 +80,6 @@ EOF
         $im->done;
 }
 
-# obvious failures, first
-{
-        local $ENV{HOME} = $home;
-        my $res = cgi_run("/", "", "PUT");
-        like($res->{head}, qr/Status:\s*405/i, "PUT not allowed");
-
-        $res = cgi_run("/");
-        like($res->{head}, qr/Status:\s*404/i, "index returns 404");
-}
-
 # message-id pages
 {
         local $ENV{HOME} = $home;