Skip to content

Commit aee4241

Browse files
committed
update assertions
1 parent 9466781 commit aee4241

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Feature/Forms/ViewSubmissionsListingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function it_shows_the_listing_with_the_view_form_submissions_permission()
3333
->actingAs($user)
3434
->get(cp_route('forms.submissions.index', $form->handle()))
3535
->assertSuccessful()
36-
->assertInertia(fn ($page) => $page->component('forms/Submissions'));
36+
->assertInertia(fn ($page) => $page->component('forms/submissions/Index'));
3737
}
3838

3939
#[Test]
@@ -47,7 +47,7 @@ public function it_shows_the_listing_with_the_per_form_view_submissions_permissi
4747
->actingAs($user)
4848
->get(cp_route('forms.submissions.index', $form->handle()))
4949
->assertSuccessful()
50-
->assertInertia(fn ($page) => $page->component('forms/Submissions'));
50+
->assertInertia(fn ($page) => $page->component('forms/submissions/Index'));
5151
}
5252

5353
#[Test]

0 commit comments

Comments
 (0)