| Total Complexity | 1 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | class StoredTest extends CommonTestClass |
||
| 12 | { |
||
| 13 | public function testBasic(): void |
||
| 14 | { |
||
| 15 | $path = new Path(); |
||
| 16 | $path->setDocumentRoot('/tmp/none'); |
||
| 17 | |||
| 18 | $this->assertEmpty(Stored::getPath()); |
||
| 19 | |||
| 20 | Stored::init($path); |
||
| 21 | $xPath = Stored::getPath(); |
||
| 22 | $xPath->setPathToSystemRoot('sdfgsdfgt/'); |
||
| 23 | } |
||
| 25 |