<?php
declare(strict_types=1);require __DIR__.'/common.php';$fixture=json_decode(file_get_contents($runtime.'/fixture-result.json'),true);$check($fixture['committed']===true,'Approved Store setup committed');$check(!file_exists($runtime.'/tokens.json'),'New own token setup once');$app=ropeApp($root,$runtime,'SETUP');$app->env->set('store.host',['rope1.exact.invalid'=>2147001111,'rope2.exact.invalid'=>2147001112]);
$tokens=[];foreach(['one','two'] as $i=>$actor){$token=bin2hex(random_bytes(32));$payload=['user'=>['user_id'=>$users[$i]],'login_type'=>'account','password_version'=>0];$app->cache->set($token,$payload,3600);$check($app->cache->get($token)===$payload,'Own token cache exact');$tokens[$actor]=$token;}$persist('tokens.json',$tokens);$persist('batch-before.json',$large());echo json_encode(['lane'=>$lane,'tokens_created'=>2,'real_marked_DB_profiles'=>true,'HTTP'=>0,'DML'=>0,'DDL'=>0]),"\n";
