Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function testItCreatesARouteFile() |
||
25 | { |
||
26 | $command = new CreateRouteCommand([$this->name]); |
||
27 | $result = $command->run(); |
||
28 | $this->assertEquals(0, $result); |
||
29 | $files = glob($this->routesPath . $this->name . '/routes.php'); |
||
30 | $this->assertNotEmpty($files); |
||
31 | $this->filesCreated = array_merge($this->filesCreated, $files); |
||
32 | } |
||
33 | |||
35 |