Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | public function testNonExistingDirectoryPath() { |
||
21 | |||
22 | $this->assertTrue(\LE_ACME2\Authorizer\HTTP::getDirectoryPath() === null); |
||
23 | |||
24 | $this->catchExpectedException( |
||
25 | \RuntimeException::class, |
||
26 | function() { |
||
27 | \LE_ACME2\Authorizer\HTTP::setDirectoryPath(TestHelper::getInstance()->getNonExistingPath()); |
||
28 | } |
||
44 | } |