Commit 879de612 authored by Elias Villiger's avatar Elias Villiger
Browse files

Feature #4542 - Fix unit test

parent c747875b
......@@ -70,12 +70,12 @@ class BuildFormPlainTest extends AbstractDatabaseTest {
public function testBuildInput() {
$form = array();
$formElement = array();
$formElement[FE_CHECK_TYPE] = SANITIZE_ALLOW_ALL;
$json = array();
$this->templateFormNFormElement($form, $formElement);
$build = new \qfq\BuildFormPlain($form, array(), [$formElement], $this->dbArray);
$formElement[FE_CHECK_TYPE] = SANITIZE_ALLOW_ALL;
$label['123-l'][API_ELEMENT_CONTENT] = '<label for="name:1" class="control-label" >Name</label>';
$label['123'][API_ELEMENT_ATTRIBUTE] = ['value' => ''];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment