create test for three item in roaditem project
This commit is contained in:
@@ -24,6 +24,14 @@ class OperatorIndexTest extends TestCase
|
||||
$response->assertForbidden();
|
||||
}
|
||||
|
||||
public function test_user_cannot_access_authentication_to_operator_index(): void
|
||||
{
|
||||
$response = $this->getJson(route('v3.road_items.operatorIndex'));
|
||||
|
||||
$response->assertStatus(401);
|
||||
}
|
||||
|
||||
|
||||
public function test_operator_can_see_the_data_table(): void
|
||||
{
|
||||
$user = User::factory()
|
||||
|
||||
Reference in New Issue
Block a user