| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | public function testServer() |
||
| 45 | { |
||
| 46 | /** @var ConnectionInterface $connection */ |
||
| 47 | $res = $this->createConnection('phpunit_default')->connect()->server(); |
||
| 48 | |||
| 49 | $this->assertEquals(QueryType::SERVER_INFO, $res->getType()); |
||
| 50 | $this->assertInternalType('string', $res->getData()[0]['name']); |
||
| 51 | } |
||
| 52 | } |
||
| 53 |