3 t/validate/cview.t - validation tests for cview/map.pl
7 Validation tests for cview/map.pl
17 use Test::WWW::Mechanize;
20 use SGN::Test qw/validate_urls/;
22 my $base_url = $ENV{SGN_TEST_SERVER};
23 my $url = "/cview/map.pl?map_id=c9";
25 my $mech = Test::WWW::Mechanize->new;
26 $mech->get("$base_url/$url");
27 if ($mech->content =~ m/No database found/) {
28 plan skip_all => "Skipping Contig map due to missing database";
31 validate_urls({ "Contig map" => $url });