diff --git a/tests/databases/pgsql/PgSQLTest.php b/tests/databases/pgsql/PgSQLTest.php index e248543..e9572e5 100644 --- a/tests/databases/pgsql/PgSQLTest.php +++ b/tests/databases/pgsql/PgSQLTest.php @@ -22,6 +22,13 @@ class PgTest extends DBTest { public function setUp() { + + // If the database isn't installed, skip the tests + if ( ! class_exists("PgSQL")) + { + $this->markTestSkipped(); + } + // Attempt to connect, if there is a test config file if (is_file(QBASE_DIR . "test_config.json")) {