Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | public function test() |
||
10 | { |
||
11 | $this->assertFileExists(getcwd().'/.htaccess'); |
||
12 | $this->assertFileExists(getcwd().'/server.php'); |
||
13 | |||
14 | unlink(getcwd().'/.htaccess'); |
||
15 | unlink(getcwd().'/server.php'); |
||
16 | $this->assertFileNotExists(getcwd().'/.htaccess'); |
||
17 | $this->assertFileNotExists(getcwd().'/server.php'); |
||
18 | |||
19 | $this->dispatch('module.defaults'); |
||
20 | $this->assertFileExists(getcwd().'/.htaccess'); |
||
21 | $this->assertFileExists(getcwd().'/server.php'); |
||
22 | } |
||
23 | } |
||
24 |