Skip to content

Commit aa11c41

Browse files
committed
Fix form mapping tests
1 parent a187966 commit aa11c41

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy