Skip to content

Commit d107cfa

Browse files
committed
feat: add NovaTestTrait in template from laravel-helpers
1 parent e11fb29 commit d107cfa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stubs/nova_test.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33

44
use App\Models\{{$entity}};
55
use RonasIT\Support\Tests\ModelTestState;
6+
use RonasIT\Support\Tests\NovaTestTraitTest;
67
@if($shouldUseStatus)
78
use Symfony\Component\HttpFoundation\Response;
89
@endif
910

1011
class Nova{{$entity}}Test extends TestCase
1112
{
13+
use NovaTestTrait;
14+
1215
protected static User $user;
1316
protected static ModelTestState ${{$lower_entity}}State;
1417

0 commit comments

Comments
 (0)