Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
879de612
Commit
879de612
authored
Feb 03, 2018
by
Elias Villiger
Browse files
Feature #4542 - Fix unit test
parent
c747875b
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/tests/phpunit/BuildFormPlainTest.php
View file @
879de612
...
...
@@ -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'
=>
''
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment