Skip HTML tests if CGI is not installed (RT#98027)
Dagfinn Ilmari Mannsåker [Wed, 10 Sep 2014 10:29:48 +0000 (11:29 +0100)]
It's being evicted from core in 5.22.

Changes
t/29html.t

diff --git a/Changes b/Changes
index b185495..5311175 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 Changes for SQL::Translator
 
+ * Skip HTML tests if CGI is not installed (RT#98027)
+
 0.11020 2014-09-02
 
  * Fix test failure if Test::PostgreSQL is installed but not working
index 3796b4b..04fb30c 100644 (file)
@@ -14,6 +14,7 @@ use SQL::Translator;
 
 BEGIN {
     maybe_plan(5,
+        'CGI',
         'HTML::Parser',
         'SQL::Translator::Parser::MySQL',
         'SQL::Translator::Producer::HTML');