Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e2b7a16

Browse files
committed
Fix form mapping tests
1 parent 2dd308a commit e2b7a16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Form/Tests/Extension/Core/DataMapper/PropertyPathMapperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function testMapFormsToDataIgnoresDisabled()
314314
$config->setPropertyPath($propertyPath);
315315
$config->setData($engine);
316316
$config->setDisabled(true);
317-
$form = new Form($config);
317+
$form = new SubmittedForm($config);
318318

319319
$this->mapper->mapFormsToData([$form], $car);
320320

@@ -376,7 +376,7 @@ public function isSubmitted(): bool
376376
}
377377
}
378378

379-
class NotSynchronizedForm extends Form
379+
class NotSynchronizedForm extends SubmittedForm
380380
{
381381
public function isSynchronized(): bool
382382
{

0 commit comments

Comments
 (0)