@@ -70,7 +70,7 @@ public function test_inertia_directive_renders_the_root_element_and_script_eleme
7070 'inertia.use_script_element_for_initial_page ' => true ,
7171 ]);
7272
73- $ html = '<script data-page="app" type="application/json">{" component":" Foo\/Bar"," props":{" foo":" bar"}," url":" \/test"," version":""," encryptHistory" :false," clearHistory" :false}</script><div id="app"></div> ' ;
73+ $ html = '<script data-page="app" type="application/json">{" component":" Foo\/Bar"," props":{" foo":" bar"}," url":" \/test"," version":""," encryptHistory" :false," clearHistory" :false}</script><div id="app"></div> ' ;
7474
7575 $ this ->assertSame ($ html , $ this ->renderView ('@inertia ' , ['page ' => self ::EXAMPLE_PAGE_OBJECT ]));
7676 $ this ->assertSame ($ html , $ this ->renderView ('@inertia() ' , ['page ' => self ::EXAMPLE_PAGE_OBJECT ]));
@@ -106,7 +106,7 @@ public function test_inertia_directive_can_use_a_different_root_element_id_when_
106106 'inertia.use_script_element_for_initial_page ' => true ,
107107 ]);
108108
109- $ html = '<script data-page="foo" type="application/json">{" component":" Foo\/Bar"," props":{" foo":" bar"}," url":" \/test"," version":""," encryptHistory" :false," clearHistory" :false}</script><div id="foo"></div> ' ;
109+ $ html = '<script data-page="foo" type="application/json">{" component":" Foo\/Bar"," props":{" foo":" bar"}," url":" \/test"," version":""," encryptHistory" :false," clearHistory" :false}</script><div id="foo"></div> ' ;
110110
111111 $ this ->assertSame ($ html , $ this ->renderView ('@inertia(foo) ' , ['page ' => self ::EXAMPLE_PAGE_OBJECT ]));
112112 $ this ->assertSame ($ html , $ this ->renderView ("@inertia('foo') " , ['page ' => self ::EXAMPLE_PAGE_OBJECT ]));
0 commit comments