class DoctrineDbalPostgreSqlStoreTest extends AbstractStoreTestCase
{ use BlockingStoreTestTrait;
use SharedLockStoreTestTrait;
public function createPostgreSqlConnection(): Connection
{ if (!
getenv('POSTGRES_HOST'
)) { $this->
markTestSkipped('Missing POSTGRES_HOST env variable'
);
} return self::
getDbalConnection('pdo-pgsql://postgres:password@'.
getenv('POSTGRES_HOST'
));
} public function getStore(): PersistingStoreInterface
{ $conn =
$this->
createPostgreSqlConnection();
return new DoctrineDbalPostgreSqlStore($conn);
} /**
* @requires extension pdo_sqlite
*
* @dataProvider getInvalidDrivers
*/