Fix some value types

This commit is contained in:
Eric Espie
2026-01-12 13:50:28 +01:00
parent 2efe80265d
commit 5c75d0ce7c
3 changed files with 21 additions and 5 deletions

View File

@@ -602,7 +602,9 @@ class FormFor__CollectionOfValuesTest extends Combodo\iTop\Forms\Block\Base\Form
\$this->Add('coll', 'Combodo\iTop\Forms\Block\DataModel\AttributeValueChoiceFormBlock', [
'label' => 'UI:ClassAttributeValue',
'multiple' => true,
]);
])
->SetInputValue('class', 'Contact')
->SetInputValue('attribute', 'status');
}
}
PHP,
@@ -883,6 +885,8 @@ PHP;
$this->AssertPHPCodeIsValid($sProducedPHP);
$this->assertStringStartsWith($sExpectedStart, $sProducedPHP);
echo $sProducedPHP;
}
public function testCompileFormForClassSelection()