Fix test failure if Test::PostgreSQL is installed but not working
[dbsrgits/SQL-Translator.git] / t / postgresql-rename-table-and-field.t
index 887f023..c6a0473 100644 (file)
@@ -19,7 +19,7 @@ else {
     no warnings 'once';
     maybe_plan(undef, 'Test::PostgreSQL');
     $pgsql = Test::PostgreSQL->new
-        or die "Can't create test database: $Test::PostgreSQL::errstr";
+        or plan skip_all => "Can't create test database: $Test::PostgreSQL::errstr";
     $dsn = $pgsql->dsn;
 };