1 | <?php |
||
14 | class ConnectionTest extends BaseTestCase |
||
15 | { |
||
16 | /** |
||
17 | * @var MockInterface |
||
18 | */ |
||
19 | private $optionsMock; |
||
20 | |||
21 | public function setUp() |
||
27 | |||
28 | /** |
||
29 | * @throws \Exception |
||
30 | */ |
||
31 | public function testConnect() |
||
43 | |||
44 | // /** |
||
45 | // * @throws \Exception |
||
46 | // */ |
||
47 | // public function testServer() |
||
48 | // { |
||
49 | // /** @var ConnectionInterface $connection */ |
||
50 | // $res = $this->createConnection('phpunit_default')->connect()->server(); |
||
51 | // |
||
52 | // $this->assertEquals(QueryType::SERVER_INFO, $res->getType()); |
||
53 | // $this->assertInternalType('string', $res->getData()[0]['name']); |
||
54 | // } |
||
55 | } |
||
56 |