X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fpsgi_v2.t;h=9964b47762abce93e83d3749340e5c798d1c89f5;hp=2a798d6fe40e373b935e06d14bd9ea6a0b0fff3c;hb=7b5ea579e6a9490a4a38958acac8e078d805eec7;hpb=a966564fef08a4f25670778efbff139fbbf47c84 diff --git a/t/psgi_v2.t b/t/psgi_v2.t index 2a798d6f..9964b477 100644 --- a/t/psgi_v2.t +++ b/t/psgi_v2.t @@ -165,6 +165,11 @@ test_psgi(sub { $www->call(@_) }, sub { $res = $cb->(GET('/v2test/reuse@mid/t/')); $raw = $res->content; like($raw, qr/\b4\+ messages\b/, 'thread overview shown with /t/'); + + $res = $cb->(GET('/v2test/0/info/refs')); + is($res->code, 200, 'got info refs for dumb clones'); + $res = $cb->(GET('/v2test/info/refs')); + is($res->code, 404, 'unpartitioned git URL fails'); }); done_testing();