2026-06-28 12:49:52 +03:00
|
|
|
<?php
|
2026-07-01 15:45:37 +03:00
|
|
|
|
2026-06-28 12:49:52 +03:00
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
|
|
|
|
|
|
it('создаёт autopodbor_competitors', function () {
|
|
|
|
|
expect(DB::getSchemaBuilder()->hasTable('autopodbor_competitors'))->toBeTrue();
|
|
|
|
|
expect(DB::getSchemaBuilder()->hasColumns('autopodbor_competitors', [
|
2026-07-01 15:45:37 +03:00
|
|
|
'id', 'tenant_id', 'search_run_id', 'name', 'description', 'is_federal',
|
|
|
|
|
'relevance_pct', 'origin', 'site_url', 'directory_urls', 'provenance',
|
|
|
|
|
'dedup_key', 'study_run_id', 'studied_at', 'created_at',
|
2026-06-28 12:49:52 +03:00
|
|
|
]))->toBeTrue();
|
|
|
|
|
});
|