refactor(tenant): remove legacy presentation configuration and related carousel images
This commit is contained in:
20
tests/Feature/Tenant/TenantPresentationConfigRemovalTest.php
Normal file
20
tests/Feature/Tenant/TenantPresentationConfigRemovalTest.php
Normal 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'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user