]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blobdiff - t/pg.t
add test script for mysql
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / pg.t
diff --git a/t/pg.t b/t/pg.t
index 7c4f05115736d6dc8d8b09cf418a214618526f4d..d11e10dbe2337678f07840fa9dc1e7071c6df0ab 100644 (file)
--- a/t/pg.t
+++ b/t/pg.t
@@ -1,16 +1,18 @@
-# -*- 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);
-
-my $schema = DBSchema->get_test_schema( $dsn, $user, $pass );
-
-run_tests( $schema );
+    . ' (note: creates and tables!)'
+    unless ( $dsn && $user );
 
+my $schema = DBSchema->get_test_schema( $dsn, $user, $pass, {
+    on_connect_do  => [ 'SET client_min_messages=WARNING' ],
+} );
+run_tests($schema);
This page took 0.022191 seconds and 4 git commands to generate.