X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fatom.t;h=bb50e26f02ea606f8b8c822cee339ea3a338795f;hb=f44cd8ee33898e52be6ec2cb8c0ea06b5f59814a;hp=d4de77dadaf5c58d0ad6ae15b10c1f194f47a223;hpb=70a4116f8411ed074403a1a30bb6181115e5b7da;p=catagits%2FGitalist.git diff --git a/t/atom.t b/t/atom.t index d4de77d..bb50e26 100644 --- a/t/atom.t +++ b/t/atom.t @@ -3,8 +3,9 @@ use FindBin qw/$Bin/; BEGIN { do "$FindBin::Bin/../script/env" or die $@ } use lib "$Bin/lib"; use TestGitalist; +use HTTP::Request::Common; -my $res = request('/repo1/atom'); +my $res = request(GET 'http://localhost/repo1/atom', 'Content-Type' => 'application/atom+xml'); ok $res->is_success; is $res->content_type, 'application/atom+xml'; TODO: {