Skip to content

Commit 22e0e84

Browse files
committed
update imports test
1 parent 34394e4 commit 22e0e84

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/HandleImportsTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22

33
use Coderflex\LaravelCsv\Http\Livewire\HandleImports;
4+
use Coderflex\LaravelCsv\Tests\Models\User;
5+
46
use function Pest\Livewire\livewire;
57

68
it('renders handle imports component', function () {
@@ -9,6 +11,8 @@
911
});
1012

1113
it('renders handle imports component with model', function () {
14+
$this->actingAs(User::factory()->create());
15+
1216
$model = Customer::class;
1317

1418
livewire(HandleImports::class, [

0 commit comments

Comments
 (0)