@@ -273,8 +273,6 @@ public function update($id, array $data)
273273 }
274274 });
275275
276- $ this ->get (route ('code16.sharp.list ' , ['root ' , 'person ' ]));
277-
278276 $ this
279277 ->postJson (
280278 route ('code16.sharp.api.list.command.quick-creation-form.create ' , [
@@ -283,6 +281,9 @@ public function update($id, array $data)
283281 'formEntityKey ' => 'person ' ,
284282 ]),
285283 ['data ' => ['name ' => 'Marie Curie ' ]],
284+ headers: [
285+ SharpBreadcrumb::CURRENT_PAGE_URL_HEADER => url ('/sharp/root/s-list/person ' ),
286+ ]
286287 )
287288 ->assertOk ()
288289 ->assertJson ([
@@ -315,23 +316,18 @@ public function update($id, array $data)
315316 }
316317 });
317318
318- // Simulate a get of the person show page
319- $ this
320- ->get (
321- route ('code16.sharp.show.show ' , [
322- 'globalFilter ' => 'root ' ,
323- 'parentUri ' => 's-list/person/ ' ,
324- 'person ' ,
325- 1 ,
326- ])
327- )
328- ->assertOk ();
329-
330319 // Simulate a post of the colleague quick creation command from an EEL
331320 $ this
332321 ->postJson (
333- route ('code16.sharp.api.list.command.quick-creation-form.create ' , ['colleague ' , 'colleague ' ]),
322+ route ('code16.sharp.api.list.command.quick-creation-form.create ' , [
323+ 'globalFilter ' => 'root ' ,
324+ 'entityKey ' => 'colleague ' ,
325+ 'formEntityKey ' => 'colleague ' ,
326+ ]),
334327 ['data ' => ['name ' => 'Marie Curie ' ]],
328+ headers: [
329+ SharpBreadcrumb::CURRENT_PAGE_URL_HEADER => url ('/sharp/root/s-list/person/s-show/person/1 ' ),
330+ ]
335331 )
336332 ->assertOk ()
337333 ->assertJson ([
0 commit comments