diff --git a/tests/ControllerTest.php b/tests/ControllerTest.php index 5e90f3e1..fc5d744c 100644 --- a/tests/ControllerTest.php +++ b/tests/ControllerTest.php @@ -28,6 +28,7 @@ public function test_controller_returns_an_inertia_response(): void ], 'url' => '/', 'version' => '', + 'encodeHistory' => false, ]); } } diff --git a/tests/ResponseTest.php b/tests/ResponseTest.php index ef692c02..c2bf3dc0 100644 --- a/tests/ResponseTest.php +++ b/tests/ResponseTest.php @@ -46,7 +46,7 @@ public function test_server_response(): void $this->assertSame('Jonathan', $page['props']['user']['name']); $this->assertSame('/user/123', $page['url']); $this->assertSame('123', $page['version']); - $this->assertSame('
', $view->render()); + $this->assertSame('
', $view->render()); } public function test_xhr_response(): void