markTestSkipped('Disabled on Appveyor'); } if (getenv('WERCKER_ROOT')) { $this->markTestSkipped('Disabled on Wercker CI'); } return "psql -d codeception_test -U postgres < tests/data/dumps/postgres.sql"; } public function getConfig() { if (!function_exists('pg_connect')) { $this->markTestSkipped(); } return [ 'dsn' => 'pgsql:host=localhost;dbname=codeception_test', 'user' => 'postgres', 'password' => getenv('APPVEYOR') ? 'Password12!' : null, 'dump' => defined('HHVM_VERSION') ? 'tests/data/dumps/postgres-hhvm.sql' : 'tests/data/dumps/postgres.sql', 'reconnect' => true, 'cleanup' => true, 'populate' => true ]; } }