markTestSkipped("Postgres extension for PDO not loaded"); } // Attempt to connect, if there is a test config file if (is_file(QTEST_DIR . "/settings.json")) { $params = json_decode(file_get_contents(QTEST_DIR . "/settings.json")); $params = $params->pgsql; $this->db = new $class("pgsql:dbname={$params->database}", $params->user, $params->pass); } elseif (($var = getenv('CI'))) { $this->db = new $class('host=127.0.0.1;port=5432;dbname=test', 'postgres'); } $this->db->table_prefix = 'create_'; } } // End of PgSQLTableTest.php