8 lines
868 B
PHP
8 lines
868 B
PHP
<?php
|
|
require __DIR__.'/boot-QA.php';
|
|
use Illuminate\Support\Facades\DB;
|
|
$org=DB::table('organizations')->where('name','Synthetic QA organization')->first();abort_unless($org,500);
|
|
$before=DB::table('organizations')->count();DB::table('organizations')->where('id',$org->id)->update(['data_classification'=>'public']);
|
|
$support=DB::table('investment_zone_attachments')->where('zone_id','0ae14c9a-1adb-4ee7-8094-d5d54d4e75f1')->value('document_id');
|
|
file_put_contents(__DIR__.'/FIXTURE-L1.json',json_encode(['organization_id'=>$org->id,'organization_count'=>$before,'existing_QA_organization_classification_before'=>$org->data_classification,'synthetic_organization_disclosure_fixture'=>'public','support_document_id'=>$support,'no_master_created'=>true,'active_changes'=>0],JSON_PRETTY_PRINT));echo 'Existing synthetic QA organization reused; no new master or grants';
|