Skip to content

Commit

Permalink
Using Inertia-formatted names of views in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nexxai committed Dec 18, 2024
1 parent 2c6623d commit 26b214c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/fixtures/controllers/inertia-render.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function show(Request $request, Customer $customer): Response
{
$customers = Customer::all();

return Inertia::render('customer.show', [
return Inertia::render('Customer/Show', [
'customer' => $customer,
'customers' => $customers,
]);
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/drafts/inertia-render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ controllers:
Customer:
show:
query: all
inertia: customer.show with:customer,customers
inertia: Customer/Show with:customer,customers

0 comments on commit 26b214c

Please sign in to comment.