Codebase list libdbix-class-perl / 0f2b916
Fix incorrect port of test skippage in 5e65042b Peter Rabbitson 7 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3838
3939 for my $prefix (shuffle keys %$env2optdep) { SKIP: {
4040
41 my ($dsn, $user, $pass) = map { $ENV{"${prefix}_$_"} } qw/DSN USER PASS/;
42 next unless $dsn;
43
4144 skip ("Testing with ${prefix}_DSN needs " . DBIx::Class::Optional::Dependencies->req_missing_for( $env2optdep->{$prefix} ), 1)
4245 unless DBIx::Class::Optional::Dependencies->req_ok_for($env2optdep->{$prefix});
43
44 my ($dsn, $user, $pass) = map { $ENV{"${prefix}_$_"} } qw/DSN USER PASS/;
4546
4647 note "Testing with ${prefix}_DSN";
4748