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 Sep 28, 2023
1 parent 6c2ca20 commit 46dc048
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/Feature/Console/ComponentMakeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ public function it_can_generate_component_file_with_view()
$this->artisan('make:component', ['name' => 'Foo', '--view' => true, '--preset' => 'canvas'])
->assertSuccessful();

$this->assertFileContains([
'namespace App\View\Components;',
'use Illuminate\View\Component;',
'class Foo extends Component',
"return view('components.foo');",
], 'app/View/Components/Foo.php');

$this->assertFilenameExists('resources/views/components/foo.blade.php');
}

Expand Down

0 comments on commit 46dc048

Please sign in to comment.