From: Peter Rabbitson Date: Sat, 18 Jun 2016 09:55:20 +0000 (+0200) Subject: Fix incorrect port of test skippage in 5e65042b X-Git-Tag: v0.082840~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=commitdiff_plain;h=0f2b916b2819b42b0ce7ab68403e609834f965fc Fix incorrect port of test skippage in 5e65042b --- diff --git a/t/750firebird.t b/t/750firebird.t index 1066132..8a65f6f 100644 --- a/t/750firebird.t +++ b/t/750firebird.t @@ -39,11 +39,12 @@ my $schema; for my $prefix (shuffle keys %$env2optdep) { SKIP: { + my ($dsn, $user, $pass) = map { $ENV{"${prefix}_$_"} } qw/DSN USER PASS/; + next unless $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}); - my ($dsn, $user, $pass) = map { $ENV{"${prefix}_$_"} } qw/DSN USER PASS/; - note "Testing with ${prefix}_DSN"; $schema = DBICTest::Schema->connect($dsn, $user, $pass, {