Skip to content

Commit

Permalink
Update EnumMakeCommandTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Mar 8, 2024
1 parent 60a92da commit 2e8c7f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Integration/Generators/EnumMakeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function testItCanGenerateEnumFileWithInt()

public function testItCanGenerateEnumFileInEnumsFolder()
{
File::makeDirectory(app_path() . '\\Enums', force: true);
File::makeDirectory(app_path().'\\Enums', force: true);

$this->artisan('make:enum', ['name' => 'ImplicitEnum'])
->assertExitCode(0);
Expand All @@ -51,5 +51,7 @@ public function testItCanGenerateEnumFileInEnumsFolder()
'namespace App\Enums;',
'enum ImplicitEnum',
], 'app/Enums/ImplicitEnum.php');

File::deleteDirectory(app_path().'\\Enums');
}
}

0 comments on commit 2e8c7f2

Please sign in to comment.