Update tests to use maybe_plan.
[dbsrgits/SQL-Translator.git] / t / 22xml-xmi-parser-visibility.t
index acad644..0502234 100644 (file)
@@ -19,11 +19,14 @@ use constant DEBUG => (exists $opt{d} ? 1 : 0);
 
 use Test::More;
 use Test::Exception;
+use Test::SQL::Translator qw(maybe_plan);
 use SQL::Translator;
 use SQL::Translator::Schema::Constants;
 
 
-plan tests => 8;
+maybe_plan(8,
+    'SQL::Translator::Parser::XML::XMI',
+    'SQL::Translator::Producer::MySQL');
 
 my $testschema = "$Bin/data/xmi/Foo.poseidon2.xmi";
 die "Can't find test schema $testschema" unless -e $testschema;