Files
portal/app/tests/Feature/Autopodbor/AutopodborSourcesSchemaTest.php
T
Дмитрий cc73a70f9e feat(автоподбор): таблица autopodbor_sources + RLS
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 12:58:27 +03:00

11 lines
459 B
PHP

<?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',
]))->toBeTrue();
});