Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit a3edaaf

Browse files
committed
Removed adding inputfilters to form and fieldset and name from form
1 parent 072894a commit a3edaaf

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

test/FormTest.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -823,17 +823,10 @@ public function testFormBaseFieldsetBindValuesWithoutInputs()
823823
$baseFieldset = new Fieldset('base_fieldset');
824824
$baseFieldset->setUseAsBaseFieldset(true);
825825

826-
$form = new Form('default_form');
826+
$form = new Form();
827827
$form->add($baseFieldset);
828828
$form->setHydrator(new ObjectPropertyHydrator());
829829

830-
$baseFieldsetInputFilter = new InputFilter();
831-
832-
$formInputFilter = new InputFilter();
833-
$formInputFilter->add($baseFieldsetInputFilter, 'base_fieldset');
834-
835-
$form->setInputFilter($formInputFilter);
836-
837830
$model = new stdClass();
838831
$form->bind($model);
839832

0 commit comments

Comments
 (0)