X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fauthor%2Fhttp-server.t;fp=t%2Fauthor%2Fhttp-server.t;h=0ee12ebf03c309a6ae2003e09ae9a2578cef25e6;hb=4cd3d167221f7991ecb212f254b77f7461e12c9a;hp=5bab59b148431d89ff8be7b077041db87009b2c6;hpb=e8e8895a9f69e9438fd2278db03e75fa303f7532;p=catagits%2FCatalyst-Runtime.git diff --git a/t/author/http-server.t b/t/author/http-server.t index 5bab59b..0ee12eb 100644 --- a/t/author/http-server.t +++ b/t/author/http-server.t @@ -88,13 +88,12 @@ sub check_port { sub prove { my ($inc, $tests) = @_; if (!(my $pid = fork)) { - unshift @INC, @{ $inc }; - require TAP::Harness; my $aggr = -e '.aggregating'; my $harness = TAP::Harness->new({ - ($aggr ? (test_args => $tests) : ()) + ($aggr ? (test_args => $tests) : ()), + lib => $inc, }); my $aggregator = $aggr