diff options
Diffstat (limited to 't/solver_git.t')
-rw-r--r-- | t/solver_git.t | 8 |
1 files changed, 8 insertions, 0 deletions
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 }; |