Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aa11c41

Browse filesBrowse files
committed
Fix form mapping tests
1 parent a187966 commit aa11c41
Copy full SHA for aa11c41

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/DataMapper/PropertyPathMapperTest.php
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.