generate migration files from db

This commit is contained in:
2024-03-05 15:35:49 +03:30
parent 3680dc329a
commit 797179d021
164 changed files with 6896 additions and 34 deletions

View File

@@ -0,0 +1,24 @@
<?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();
}
}