This commit is contained in:
nuno maduro
2026-04-22 08:42:32 -07:00
parent 68527c996f
commit 660b57b365
7 changed files with 215 additions and 30 deletions

View File

@ -13,7 +13,7 @@ test('structural drift discards the graph entirely', function () {
tiaScenario(function (Sandbox $sandbox) {
$sandbox->pest(['--tia']);
$graphPath = $sandbox->path().'/vendor/pestphp/pest/.temp/tia/graph.json';
$graphPath = $sandbox->path().'/.pest/tia/graph.json';
$graph = json_decode((string) file_get_contents($graphPath), true);
$graph['fingerprint']['structural']['composer_lock'] = str_repeat('0', 32);
file_put_contents($graphPath, json_encode($graph));
@ -29,7 +29,7 @@ test('environmental drift keeps edges, drops results', function () {
tiaScenario(function (Sandbox $sandbox) {
$sandbox->pest(['--tia']);
$graphPath = $sandbox->path().'/vendor/pestphp/pest/.temp/tia/graph.json';
$graphPath = $sandbox->path().'/.pest/tia/graph.json';
$graph = json_decode((string) file_get_contents($graphPath), true);
$edgeCountBefore = count($graph['edges']);