Files
Investidor-V2/outputs/investmoz-classificacao-multidimensional-QA-20261015/fix-fixture-format-QA.php
T
nala 6a76aac80f
tests / ci (push) Canceled after 0s
versao compilada 1
2026-10-16 09:17:28 +02:00

7 lines
573 B
PHP

<?php
require __DIR__.'/boot-QA.php';portalQaAssertTarget($target);
$fixture=json_decode(file_get_contents('C:/Users/macbook/.config/investmoz/classificacao-QA-20261015/fixture-private.json'),true);
// Fortify decrypt() expects serialized encryption; this fixes only the synthetic fixture, never a real credential.
App\Models\User::findOrFail($fixture['actors']['reviewer']['id'])->forceFill(['two_factor_secret'=>Illuminate\Support\Facades\Crypt::encrypt($fixture['actors']['reviewer']['secret'])])->save();
echo json_encode(['synthetic_fixture_format_corrected'=>true]);