change field lookup logic
This commit is contained in:
@@ -54,16 +54,22 @@ final class ElixFormsControllerTest extends TestCase
|
||||
throw new \RuntimeException('exportGroup non inoltrato al client.');
|
||||
}
|
||||
|
||||
$values = [
|
||||
10 => 'Nessuna corrispondenza',
|
||||
20 => 'Il contratto ABC-123 è presente',
|
||||
30 => 'Altro valore',
|
||||
$tags = [
|
||||
10 => [
|
||||
'name' => 'contratto.altro',
|
||||
'value' => 'Il contratto ABC-123 è presente',
|
||||
],
|
||||
20 => [
|
||||
'name' => 'contratto.id',
|
||||
'value' => 'Il contratto ABC-123 è presente',
|
||||
],
|
||||
30 => [
|
||||
'name' => 'contratto.id',
|
||||
'value' => 'Altro valore',
|
||||
],
|
||||
];
|
||||
|
||||
return [[
|
||||
'name' => 'contratto.id',
|
||||
'value' => $values[$requestId],
|
||||
]];
|
||||
return [$tags[$requestId]];
|
||||
}
|
||||
};
|
||||
$config = new class extends Config {
|
||||
|
||||
Reference in New Issue
Block a user