X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fsolver_git.t;fp=t%2Fsolver_git.t;h=0090bc06d6165c9fd44ca57745c26b3413cc33e0;hp=7743913b92b8c9681af427af4d68e24125526f3a;hb=d3c6f8e57b15e8d3de0431c8419bdd0497ec3d32;hpb=a74c0a16c07e4c8a3ae03af13854f190ddb3bd8a diff --git a/t/solver_git.t b/t/solver_git.t index 7743913b..0090bc06 100644 --- a/t/solver_git.t +++ b/t/solver_git.t @@ -403,6 +403,14 @@ EOF is($res->code, 404, 'got 404 for non-existent ref README'); $res = $cb->(GET('/public-inbox/tree/Documentation?h=no-dir')); is($res->code, 404, 'got 404 for non-existent ref directory'); + + $res = $cb->(GET('/public-inbox/tags.atom')); + is($res->code, 200, 'Atom feed'); + SKIP: { + require_mods('XML::TreePP', 1); + my $t = XML::TreePP->new->parse($res->content); + ok(scalar @{$t->{feed}->{entry}}, 'got tag entries'); + } }; test_psgi(sub { $www->call(@_) }, $client); my $env = { PI_CONFIG => $cfgpath, TMPDIR => $tmpdir };