Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Oct 8, 2023
1 parent d66d458 commit a83cf19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Commands/GeneratorCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public function it_can_generate_class_file()
/** @test */
public function it_cannot_generate_class_file_given_reserved_name()
{
$this->artisan('make:code', ['name' => '__CLASS__'])
$this->artisan('make:code', ['name' => '__halt_compiler'])
->expectsOutputToContain('The name "__halt_compiler" is reserved by PHP.')
->assertFailed();
}
}

0 comments on commit a83cf19

Please sign in to comment.