25 lines
601 B
PHP
25 lines
601 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\V2\Dashboard\SafetyAndPrivacy;
|
|
|
|
use App\Models\User;
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Illuminate\Foundation\Testing\WithFaker;
|
|
use Tests\TestCase;
|
|
|
|
class operatorFirstStepStoreTest extends TestCase
|
|
{
|
|
use RefreshDatabase, WithFaker;
|
|
/**
|
|
* A basic feature test example.
|
|
*/
|
|
public function test_user_should_have_add_safety_and_privacy_permission(): void
|
|
{
|
|
$user = User::factory()->create();
|
|
|
|
$response = $this->post('v2/safety_and_privacy/operator/first_step');
|
|
|
|
$response->assertForbidden();
|
|
}
|
|
}
|