@@ -352,8 +352,8 @@ public function it_returns_altered_field_values()
352352 $ this ->request ['name ' ] = 'lower case ' ;
353353 $ this ->request ['subcustom ' ] = ['title ' => 'Bar foo ' , 'body ' => 'Foo bar ' ];
354354 $ this ->request ['subcustom_collection ' ] = [
355- ['title ' => 'Item 1 title ' , 'body ' => 'Item 1 body ' ],
356- ['title ' => 'Item 2 title ' , 'body ' => 'Item 2 body ' ],
355+ 5 => ['title ' => 'Item 1 title ' , 'body ' => 'Item 1 body ' ],
356+ 17 => ['title ' => 'Item 2 title ' , 'body ' => 'Item 2 body ' ],
357357 ];
358358
359359 $ customForm = $ this ->formBuilder ->create ('CustomNesterDummyForm ' );
@@ -364,8 +364,8 @@ public function it_returns_altered_field_values()
364364 'options ' => ['x ' ],
365365 'subcustom ' => ['title ' => 'Bar foo ' , 'body ' => 'FOO BAR ' ],
366366 'subcustom_collection ' => [
367- ['title ' => 'Item 1 title ' , 'body ' => 'ITEM 1 BODY ' ],
368- ['title ' => 'Item 2 title ' , 'body ' => 'ITEM 2 BODY ' ],
367+ 5 => ['title ' => 'Item 1 title ' , 'body ' => 'ITEM 1 BODY ' ],
368+ 17 => ['title ' => 'Item 2 title ' , 'body ' => 'ITEM 2 BODY ' ],
369369 ],
370370 ],
371371 $ customForm ->getFieldValues ()
0 commit comments