feat(seeder): add Desfile Pura Tendencia seeder and corresponding test
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature\Migrations;
|
||||
namespace Tests\Feature\Seeders;
|
||||
|
||||
use Database\Seeders\DesfilePuraTendenciaSeeder;
|
||||
use Database\Seeders\MenuSeeder;
|
||||
use Database\Seeders\SocialMediaSeeder;
|
||||
use Database\Seeders\TenantSeeder;
|
||||
@@ -11,7 +12,7 @@ use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Tests\TestCase;
|
||||
|
||||
class CreateDesfilePuraTendenciaTenantTest extends TestCase
|
||||
class DesfilePuraTendenciaSeederTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
@@ -23,34 +24,10 @@ class CreateDesfilePuraTendenciaTenantTest extends TestCase
|
||||
WebsiteTypeSeeder::class,
|
||||
SocialMediaSeeder::class,
|
||||
TenantSeeder::class,
|
||||
DesfilePuraTendenciaSeeder::class,
|
||||
MenuSeeder::class,
|
||||
]);
|
||||
|
||||
$migration = require database_path(
|
||||
'migrations/2026_08_12_020000_create_desfile_pura_tendencia_tenant.php'
|
||||
);
|
||||
$migration->up();
|
||||
|
||||
$rowAndSeatMigration = require database_path(
|
||||
'migrations/2026_08_14_030000_swap_desfile_row_and_seat_semantics.php'
|
||||
);
|
||||
$rowAndSeatMigration->up();
|
||||
|
||||
$seatOptionsMigration = require database_path(
|
||||
'migrations/2026_08_14_040000_expand_desfile_seat_options.php'
|
||||
);
|
||||
$seatOptionsMigration->up();
|
||||
|
||||
$footerBackgroundMigration = require database_path(
|
||||
'migrations/2026_08_12_060000_set_desfile_footer_background_image.php'
|
||||
);
|
||||
$footerBackgroundMigration->up();
|
||||
|
||||
$browserBrandingMigration = require database_path(
|
||||
'migrations/2026_08_14_010000_set_seeded_tenant_browser_branding.php'
|
||||
);
|
||||
$browserBrandingMigration->up();
|
||||
|
||||
$this->assertDatabaseHas('tenants', [
|
||||
'codigo' => 'desfile_pura_tendencia',
|
||||
'nombre' => 'Desfile Pura Tendencia',
|
||||
Reference in New Issue
Block a user