X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F93storage_replication.t;h=67b09c2e2dd10ce1ba4ff5230ea65e40a970c935;hb=2f0790c43209011e3524dd6edc2aa3fc9913ef76;hp=81135dd1a8bfdaba2b54f53dcfbe419763cbd65f;hpb=d663c981c4d76423af3cfa9ff58decbfd4819380;p=dbsrgits%2FDBIx-Class.git diff --git a/t/93storage_replication.t b/t/93storage_replication.t index 81135dd..67b09c2 100644 --- a/t/93storage_replication.t +++ b/t/93storage_replication.t @@ -7,9 +7,13 @@ use File::Copy; use DBICTest; use Test::More; -plan skip_all => 'No DBD::Multi' unless eval { require DBD::Multi }; -plan tests => 3; +BEGIN { + eval "use DBD::Multi"; + plan $@ + ? ( skip_all => 'needs DBD::Multi for testing' ) + : ( tests => 3 ); +} my $schema = DBICTest->init_schema();