Skip to content

Commit a7f7bb0

Browse files
committed
fix: test generator
1 parent c11e802 commit a7f7bb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stubs/test.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,13 @@ public function testSearch(array $filter, string $fixture)
217217
$this->assertEqualsFixture($fixture, $response->json());
218218
}
219219

220+
@if ($withAuth)
220221
public function testSearchNoAuth()
221222
{
222223
$response = $this->json('get', '/{{$entities}}');
223224

224225
$response->assertUnauthorized();
225226
}
226227
@endif
228+
@endif
227229
}

0 commit comments

Comments
 (0)