Skip to content

Commit e6c3775

Browse files
committed
adapt Controller test to get view data from response original content
1 parent 6c1bbe7 commit e6c3775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ public function test_controller_returns_an_inertia_response()
2020
'url' => '',
2121
'version' => null,
2222
],
23-
], $response->toResponse(new Request())->getData());
23+
], $response->toResponse(new Request())->getOriginalContent()->getData());
2424
}
2525
}

0 commit comments

Comments
 (0)