Skip to content

Commit d96d82f

Browse files
committed
Adapt to changes in component
1 parent 2f735a2 commit d96d82f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/LiveComponent/tests/Functional/Form/ComponentWithFormTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ public function testHandleCheckboxChanges(): void
156156
/** @var ComponentFactory $factory */
157157
$factory = self::getContainer()->get('ux.twig_component.component_factory');
158158

159-
/** @var FormComponentWithManyDifferentFieldsType $component */
160-
$component = $factory->create(
159+
$mounted = $factory->create(
161160
'form_with_many_different_fields_type',
162161
[
163162
'initialData' => [
@@ -168,7 +167,7 @@ public function testHandleCheckboxChanges(): void
168167
]
169168
);
170169

171-
$dehydrated = $hydrator->dehydrate($component);
170+
$dehydrated = $hydrator->dehydrate($mounted);
172171
$bareForm = [
173172
'text' => '',
174173
'textarea' => '',

0 commit comments

Comments
 (0)