Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare( strict_types = 1 ); |
||
17 | public function testSetGetPath () : void |
||
18 | { |
||
19 | $connector = new SqliteConnector(); |
||
20 | |||
21 | $givenPath = __DIR__ . "/../../samples/data/sqlite/people-db.sqlite"; |
||
22 | $expectedPath = __DIR__ . "/../../samples/data/sqlite/people-db.sqlite"; |
||
23 | |||
24 | $connector->setPath( $givenPath ); |
||
25 | |||
26 | $this->assertEquals( $expectedPath, $connector->getPath() ); |
||
27 | } |
||
44 |