8 lines
1023 B
PHP
8 lines
1023 B
PHP
<?php
|
|
ini_set('zend.exception_ignore_args','1');putenv('STABILITY_QA_MODE=consumers');
|
|
$root=dirname(__DIR__,2);$app=require $root.'/storage/app/private/investmoz-v2/portal-audit/portal-stability-source-20261011_083742/tools/portal-stability-runtime.php';
|
|
$db=Illuminate\Support\Facades\DB::connection();$target=(array)$db->selectOne('SELECT current_database() AS database,inet_server_port() AS port');
|
|
if($target!==['database'=>'stability_consumers_20261011_084534_test','port'=>55441])throw new RuntimeException('QA guard');
|
|
$db->beginTransaction();$db->statement('SET TRANSACTION READ ONLY');
|
|
try{$code=app(App\Services\VirtualDeskInstallation::class)->fingerprint();$p=['at'=>gmdate('c'),'expected_QA_fingerprint'=>$code,'target'=>$target,'method'=>'Existing installer fingerprint; no functional test or active write','active_changes'=>0];file_put_contents(__DIR__.'/B-activation-expected-fingerprint-20261015.json',json_encode($p,JSON_PRETTY_PRINT|JSON_THROW_ON_ERROR));echo json_encode($p);}finally{$db->rollBack();}
|