1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-26 20:15:02 +01:00
postgres/test/PqConnectTest.php
2018-07-01 12:33:12 -05:00

20 lines
412 B
PHP

<?php
namespace Amp\Postgres\Test;
use Amp\CancellationToken;
use Amp\Postgres\PqConnection;
use Amp\Promise;
use Amp\Sql\ConnectionConfig;
/**
* @requires extension pq
*/
class PqConnectTest extends AbstractConnectTest
{
public function connect(ConnectionConfig $connectionConfig, CancellationToken $token = null): Promise
{
return PqConnection::connect($connectionConfig, $token);
}
}