fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
@@ -49,7 +49,7 @@ class FrontendControllerTest extends TestCase
$user = User::query()->create([
'firstname' => 'Test',
'lastname' => 'User',
'email' => $roleName.'@example.com',
'email' => $roleName . '@example.com',
'cellphone' => '5555555555',
'address_street' => '123 Main',
'city' => 'City',
@@ -4,6 +4,7 @@ namespace Tests\Feature\Api\V1\Frontend;
use App\Models\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\DB;
use Laravel\Sanctum\Sanctum;
use Tests\TestCase;
@@ -57,7 +57,7 @@ class LandingPageControllerTest extends TestCase
$user = User::query()->create([
'firstname' => 'Test',
'lastname' => 'User',
'email' => $roleName.'@example.com',
'email' => $roleName . '@example.com',
'cellphone' => '5555555555',
'address_street' => '123 Main',
'city' => 'City',
@@ -15,7 +15,7 @@ class PageControllerTest extends TestCase
{
$dir = public_path('html');
File::ensureDirectoryExists($dir);
File::put($dir.'/privacy_policy.html', '<h1>Privacy</h1>');
File::put($dir . '/privacy_policy.html', '<h1>Privacy</h1>');
$response = $this->getJson('/api/v1/pages/privacy');
@@ -28,7 +28,7 @@ class PageControllerTest extends TestCase
{
$dir = public_path('html');
File::ensureDirectoryExists($dir);
File::delete($dir.'/help_center.html');
File::delete($dir . '/help_center.html');
$response = $this->getJson('/api/v1/pages/help');