Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
44 | public function testGetConnection( DBConnectionProvider $connProvider ) { |
||
45 | $connection = $connProvider->getConnection(); |
||
46 | |||
47 | $this->assertInstanceOf( 'DatabaseBase', $connection ); |
||
48 | |||
49 | $this->assertTrue( $connection === $connProvider->getConnection() ); |
||
50 | |||
51 | $connProvider->releaseConnection(); |
||
52 | |||
53 | $this->assertInstanceOf( 'DatabaseBase', $connProvider->getConnection() ); |
||
54 | } |
||
55 | |||
66 |