X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2F22-deflate_order.t;h=3d53245aade524fdc90626b03b338ce22dce5635;hb=592ff7c47c6aa82b37925b5b7a6fc25d1e7f0f36;hp=5267ae066369d00fcb3903445a6caa181f86ab7b;hpb=9381840da8471c9a17a0b641c99fd0b57178b839;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/cdbi/22-deflate_order.t b/t/cdbi/22-deflate_order.t index 5267ae0..3d53245 100644 --- a/t/cdbi/22-deflate_order.t +++ b/t/cdbi/22-deflate_order.t @@ -9,14 +9,16 @@ if ($@) { next; } +plan skip_all => 'Set $ENV{DBICTEST_MYSQL_DSN}, _USER and _PASS to run this test' + unless ($ENV{DBICTEST_MYSQL_DSN} && $ENV{DBICTEST_MYSQL_USER}); + eval { require Time::Piece::MySQL }; plan skip_all => "Need Time::Piece::MySQL for this test" if $@; -use lib 't/cdbi/testlib'; -eval { require 't/cdbi/testlib/Log.pm' }; -plan skip_all => "Need MySQL for this test" if $@; +plan tests => 3; -plan tests => 2; +use lib 't/cdbi/testlib'; +use_ok ('Log'); package main;