8000 fix tests · symfony/symfony@83c661d · GitHub
[go: up one dir, main page]

Skip to content

Commit 83c661d

Browse files
committed
fix tests
1 parent 967fa36 commit 83c661d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Component/Form/Tests/SimpleFormTest.php

Lines 8000 changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ public function testGetPropertyPath($name, $propertyPath)
6262
$config = new FormConfigBuilder($name, null, $this->dispatcher);
6363
$form = new Form($config);
6464

65-
$this->assertEquals(new PropertyPath($propertyPath), $form->getPropertyPath());
65+
$this->assertEquals($propertyPath, $form->getPropertyPath());
6666
}
6767

6868
public function provideFormNames()
6969
{
7070
yield [null, null];
7171
yield ['', null];
72-
yield ['0', '0'];
73-
yield [0, '0'];
74-
yield ['name', 'name'];
72+
yield ['0', new PropertyPath('0')];
73+
yield [0, new PropertyPath('0')];
74+
yield ['name', new PropertyPath('name')];
7575
}
7676

7777
public function testDataIsInitializedToConfiguredValue()

0 commit comments

Comments
 (0)
0