X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=t%2Fapache_mvc.t;h=07bfae931f95da2405b407a4c18ad3c8de911ed2;hb=3f3f95d5fdfacddf4d89137f62cde7858dc23d08;hp=e6561289fa74ef370b18ed37e0b5de724d24d00d;hpb=13c3c3ffef691cfc461e88ac9a9e6cef65a15a8f;p=maypole.git diff --git a/t/apache_mvc.t b/t/apache_mvc.t index e656128..07bfae9 100644 --- a/t/apache_mvc.t +++ b/t/apache_mvc.t @@ -1,6 +1,13 @@ #!/usr/bin/perl -w use strict; -use Test::More tests => 10; +use Test::More; +BEGIN { + if (eval { require Apache::Request }) { + plan tests => 2; + } else { + Test::More->import(skip_all =>"Apache::Request is not installed: $@"); + } +} require_ok('Apache::MVC'); ok($Apache::MVC::VERSION, 'defines $VERSION');