refactor(tenant): remove legacy presentation configuration and related carousel images

This commit is contained in:
2026-07-29 14:54:57 -03:00
parent 5416c0fd61
commit b9ad2e589f
14 changed files with 136 additions and 560 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace Tests\Feature\Tenant;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Schema;
use Tests\TestCase;
class TenantPresentationConfigRemovalTest extends TestCase
{
use RefreshDatabase;
public function test_legacy_presentation_config_is_not_part_of_tenants(): void
{
$this->assertFalse(Schema::hasTable('tenant_main_carousel_images'));
$this->assertFalse(Schema::hasColumn('tenants', 'hero_bg_image_id'));
$this->assertFalse(Schema::hasColumn('tenants', 'hero_config'));
$this->assertFalse(Schema::hasColumn('tenants', 'event_config'));
}
}