about summary refs log tree commit homepage
path: root/t/cgi.t
diff options
context:
space:
mode:
Diffstat (limited to 't/cgi.t')
-rw-r--r--t/cgi.t17
1 files changed, 1 insertions, 16 deletions
diff --git a/t/cgi.t b/t/cgi.t
index 720925ae..a0f09c59 100644
--- a/t/cgi.t
+++ b/t/cgi.t
@@ -131,21 +131,6 @@ EOF
         like($res->{body}, qr/what\?/, "reply included");
 }
 
-# indices
-{
-        local $ENV{HOME} = $home;
-        my $res = cgi_run("/test/");
-        like($res->{head}, qr/Status: 200 OK/, "index returns 200");
-
-        my $idx = cgi_run("/test/index.html");
-        $idx->{body} =~ s!/index.html(\?r=)!/$1!g; # dirty...
-        $idx->{body} = [ split(/\n/, $idx->{body}) ];
-        $res->{body} = [ split(/\n/, $res->{body}) ];
-        is_deeply($res, $idx,
-                '/$INBOX/ and /$INBOX/index.html are nearly identical');
-        # more checks in t/feed.t
-}
-
 # message-id pages
 {
         local $ENV{HOME} = $home;
@@ -187,7 +172,7 @@ EOF
         $res = cgi_run("/test/blahblah\@example.con/");
         like($res->{head}, qr/Status: 300 Multiple Choices/, "mid html miss");
 
-        $res = cgi_run("/test/");
+        $res = cgi_run("/test/new.html");
         like($res->{body}, qr/slashy%2Fasdf%40example\.com/,
                 "slashy URL generated correctly");
 }