Skip to content

Commit 1a147a2

Browse files
Lustmoredweaverryan
authored andcommitted
Adapt tests again
1 parent 65e2794 commit 1a147a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function testFormValuesRebuildAfterFormChanges(): void
111111
$browser
112112
// empty the collection
113113
->post('/_components/form_with_collection_type/removeComment', [
114-
'body' => json_encode(['props' => $dehydratedProps, 'args' => ['index' => '1']]),
114+
'body' => ['data' => json_encode(['props' => $dehydratedProps, 'args' => ['index' => '1']])],
115115
'headers' => ['X-CSRF-TOKEN' => $token],
116116
])
117117
->assertStatus(422)

0 commit comments

Comments
 (0)