2026-06-28 12:52:37 +03:00
|
|
|
<?php
|
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
|
|
|
|
|
|
it('создаёт autopodbor_sources', function () {
|
|
|
|
|
expect(DB::getSchemaBuilder()->hasTable('autopodbor_sources'))->toBeTrue();
|
|
|
|
|
expect(DB::getSchemaBuilder()->hasColumns('autopodbor_sources', [
|
|
|
|
|
'id','tenant_id','competitor_id','study_run_id','signal_type','identifier',
|
|
|
|
|
'phone_kind','provenance_url','provenance_label','dedup_key','created_project_id','created_at',
|
2026-06-30 15:40:30 +03:00
|
|
|
// §14: богатый провенанс — список «где нашли», офис, число подтверждений
|
|
|
|
|
'where_found','office','confirmations',
|
2026-06-28 12:52:37 +03:00
|
|
|
]))->toBeTrue();
|
|
|
|
|
});
|