X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F750firebird.t;h=1066132678467a3573066d80747fe86605966b4f;hb=2c649fafe996a7ee5b85b229a9ed2128b0e7ee1f;hp=cefb0405a7ce8977cf48bc17b53b1665b5e3ed02;hpb=c7e856308aeac1faa6f4d8ad59da096e009d70f4;p=dbsrgits%2FDBIx-Class.git diff --git a/t/750firebird.t b/t/750firebird.t index cefb040..1066132 100644 --- a/t/750firebird.t +++ b/t/750firebird.t @@ -5,6 +5,7 @@ use Test::More; use Test::Exception; use DBIx::Class::Optional::Dependencies (); use Scope::Guard (); +use List::Util 'shuffle'; use Try::Tiny; use lib qw(t/lib); use DBICTest; @@ -36,17 +37,15 @@ plan skip_all => join (' ', my $schema; -for my $prefix (keys %$env2optdep) { SKIP: { +for my $prefix (shuffle keys %$env2optdep) { SKIP: { - my ($dsn, $user, $pass) = map { $ENV{"${prefix}_$_"} } qw/DSN USER PASS/; + skip ("Testing with ${prefix}_DSN needs " . DBIx::Class::Optional::Dependencies->req_missing_for( $env2optdep->{$prefix} ), 1) + unless DBIx::Class::Optional::Dependencies->req_ok_for($env2optdep->{$prefix}); - next unless $dsn; + my ($dsn, $user, $pass) = map { $ENV{"${prefix}_$_"} } qw/DSN USER PASS/; note "Testing with ${prefix}_DSN"; - skip ("Testing with ${prefix}_DSN needs " . DBIx::Class::Optional::Dependencies->req_missing_for( $env2optdep->{$prefix} ), 1) - unless DBIx::Class::Optional::Dependencies->req_ok_for($env2optdep->{$prefix}); - $schema = DBICTest::Schema->connect($dsn, $user, $pass, { auto_savepoint => 1, quote_names => 1, @@ -271,9 +270,7 @@ EOF "id" INT PRIMARY KEY, "bytea" INT, "blob" BLOB, - "blob2" BLOB, "clob" BLOB SUB_TYPE TEXT, - "clob2" BLOB SUB_TYPE TEXT, "a_memo" INT ) ]);