A few fixes to get the JSON test working.
[catagits/Gitalist.git] / t / app-mech-rootpage.t
index cc6f71f..a51da3f 100644 (file)
@@ -1,5 +1,6 @@
 #!/usr/bin/env perl
 use FindBin qw/$Bin/;
+BEGIN { do "$FindBin::Bin/../script/env" or die $@ }
 use lib "$Bin/lib";
 use TestGitalist;
 plan 'skip_all' => "One or more of the following modules aren't present: Test::WWW::Mechanize::Catalyst WWW::Mechanize::TreeBuilder HTML::TreeBuilder::XPath" unless MECH();