Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function it_creates_commands(): void |
||
16 | { |
||
17 | $this->app->call('make:command', ['name' => 'FooCommand']); |
||
18 | |||
19 | $file = app_path('Commands'.DIRECTORY_SEPARATOR.'FooCommand.php'); |
||
20 | |||
21 | $this->assertTrue(File::exists($file)); |
||
22 | $this->assertContains('class FooCommand extends Command', File::get($file)); |
||
23 | } |
||
24 | } |
||
25 |