]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blobdiff - t/pg.t
Merge pull request #3 from jjn1056/master
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / pg.t
diff --git a/t/pg.t b/t/pg.t
index 8765d41f63effa53d9910e6d5ff0828fd2a210ce..8afc89191d39fe45651bdc2e693e608233814943 100644 (file)
--- a/t/pg.t
+++ b/t/pg.t
@@ -1,18 +1,17 @@
-# -*- perl -*-
-
+use strict;
+use warnings;
 use lib 't/lib';
 use DBSchema;
 use RunTests;
 use Test::More;
 
-my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_PG_${_}" } qw/DSN USER PASS/};
+my ( $dsn, $user, $pass ) =
+    @ENV{ map {"DBICTEST_PG_${_}"} qw/DSN USER PASS/ };
 
 plan skip_all => 'Set $ENV{DBICTEST_PG_DSN}, _USER and _PASS to run this test'
- . ' (note: creates and tables!)' unless ($dsn && $user);
-
-plan tests => 15;
-
-my $schema = DBSchema::get_test_schema( $dsn, $user, $pass );
+    . ' (note: creates and tables!)'
+    unless ( $dsn && $user );
 
-run_tests( $schema );
+my $schema = DBSchema->get_test_schema( $dsn, $user, $pass );
 
+run_tests($schema);
This page took 0.019376 seconds and 4 git commands to generate.