X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F93storage_replication.t;fp=t%2F93storage_replication.t;h=1cd2d906f16e2ad30d019acd3bd9d0a565d9a271;hb=6988233db06abf237e175ced2beeb697630e046d;hp=45b59c513db7a0c1e6272262b3dc71d6f3f48f34;hpb=a410299d75b4e40b24d5e5ebbb35d794c2dc73e4;p=dbsrgits%2FDBIx-Class.git diff --git a/t/93storage_replication.t b/t/93storage_replication.t index 45b59c5..1cd2d90 100644 --- a/t/93storage_replication.t +++ b/t/93storage_replication.t @@ -11,9 +11,7 @@ use IO::Handle; BEGIN { eval "use DBIx::Class::Storage::DBI::Replicated; use Test::Moose"; - plan $@ - ? ( skip_all => "Deps not installed: $@" ) - : ( tests => 132 ); + plan skip_all => "Deps not installed: $@" if $@; } use_ok 'DBIx::Class::Storage::DBI::Replicated::Pool'; @@ -850,4 +848,6 @@ is $debug{storage_type}, 'REPLICANT', "got last query from a replicant: $debug{d ## Delete the old database files $replicated->cleanup; +done_testing; + # vim: sw=4 sts=4 :