diff --git a/workbench/tests/MailMakeCommandTest.php b/workbench/tests/MailMakeCommandTest.php index 5a3639a..5309134 100644 --- a/workbench/tests/MailMakeCommandTest.php +++ b/workbench/tests/MailMakeCommandTest.php @@ -5,10 +5,10 @@ class MailMakeCommandTest extends TestCase { protected $files = [ - 'app/Mail/FooMail.php', + 'app/Mail/*.php', 'resources/views/foo-mail.blade.php', - 'resources/views/mail/foo-mail.blade.php', - 'tests/Feature/Mail/FooMailTest.php', + 'resources/views/mail/*.blade.php', + 'tests/Feature/Mail/*.php', ]; public function testItCanGenerateMailFile() @@ -102,7 +102,7 @@ public function testItCanGenerateMailWithMarkdownViewWithNoInitialInput() ->expectsQuestion('Would you like to create a view?', 'markdown') ->assertExitCode(0); - $this->assertFilenameExists('app/Mail/MyFooMail.php'); - $this->assertFilenameExists('resources/views/mail/my-foo-mail.blade.php'); + $this->assertFilenameExists('app/Mail/FooMail.php'); + $this->assertFilenameExists('resources/views/mail/foo-mail.blade.php'); } }