Merge branch '3.4' into 4.2
* 3.4: fix tests
This commit is contained in:
commit
ad62ba899c
@ -62,16 +62,16 @@ class SimpleFormTest extends AbstractFormTest
|
||||
$config = new FormConfigBuilder($name, null, $this->dispatcher);
|
||||
$form = new Form($config);
|
||||
|
||||
$this->assertEquals(new PropertyPath($propertyPath), $form->getPropertyPath());
|
||||
$this->assertEquals($propertyPath, $form->getPropertyPath());
|
||||
}
|
||||
|
||||
public function provideFormNames()
|
||||
{
|
||||
yield [null, null];
|
||||
yield ['', null];
|
||||
yield ['0', '0'];
|
||||
yield [0, '0'];
|
||||
yield ['name', 'name'];
|
||||
yield ['0', new PropertyPath('0')];
|
||||
yield [0, new PropertyPath('0')];
|
||||
yield ['name', new PropertyPath('name')];
|
||||
}
|
||||
|
||||
public function testDataIsInitializedToConfiguredValue()
|
||||
|
Reference in New Issue
Block a user