write new tests
This commit is contained in:
@@ -14,7 +14,7 @@ class IndexTest extends TestCase
|
||||
|
||||
public function test_unauthenticated_user_cannot_access_permission_index(): void
|
||||
{
|
||||
$response = $this->getJson(route('permissions.list'));
|
||||
$response = $this->getJson(route('permissions.index'));
|
||||
|
||||
$response->assertStatus(401);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user