]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blobdiff - t/pg.t
Silence NOTICE-level messages from PostgreSQL
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / pg.t
diff --git a/t/pg.t b/t/pg.t
index 8afc89191d39fe45651bdc2e693e608233814943..d11e10dbe2337678f07840fa9dc1e7071c6df0ab 100644 (file)
--- a/t/pg.t
+++ b/t/pg.t
@@ -12,6 +12,7 @@ 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 );
-
+my $schema = DBSchema->get_test_schema( $dsn, $user, $pass, {
+    on_connect_do  => [ 'SET client_min_messages=WARNING' ],
+} );
 run_tests($schema);
This page took 0.016659 seconds and 4 git commands to generate.