From: Dagfinn Ilmari Mannsåker Date: Tue, 2 Sep 2014 22:23:18 +0000 (+0100) Subject: Fix test failure if Test::PostgreSQL is installed but not working X-Git-Tag: v0.11020~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dbdb7508ad838f2331ee6436624a92825d6da4ff;p=dbsrgits%2FSQL-Translator.git Fix test failure if Test::PostgreSQL is installed but not working --- diff --git a/Changes b/Changes index 4578fc1..e9348f3 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Changes for SQL::Translator + * Fix test failure if Test::PostgreSQL is installed but not working + 0.11019 2014-09-02 * Add Json and hstore types to Pg Parser (cloudinstustrie) diff --git a/t/postgresql-rename-table-and-field.t b/t/postgresql-rename-table-and-field.t index 887f023..c6a0473 100644 --- a/t/postgresql-rename-table-and-field.t +++ b/t/postgresql-rename-table-and-field.t @@ -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; };