Skip to content

Commit 5db3adc

Browse files
committed
fix: test generator
1 parent 0c4b10a commit 5db3adc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

stubs/test.blade.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,14 @@ public function testGetNotExists()
178178
$response->assertNotFound();
179179
}
180180

181+
@if ($withAuth)
182+
public function testGetNoAuth()
183+
{
184+
$response = $this->json('get', '/{{$entities}}/1');
185+
186+
$response->assertUnauthorized();
187+
}
188+
@endif
181189
public static function getSearchFilters(): array
182190
{
183191
return [

0 commit comments

Comments
 (0)