File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1212use NeoIsRecursive \Inertia \Tests \Fixtures \Requests \CreatePerson ;
1313use Tempest \Http \Responses \Ok ;
1414use Tempest \Http \Responses \Redirect ;
15+ use Tempest \Router \Delete ;
1516use Tempest \Router \Get ;
1617use Tempest \Router \Patch ;
1718use Tempest \Router \Post ;
@@ -93,7 +94,7 @@ public function testRedirectWithClearHistory(Inertia $inertia): Redirect
9394 return new Redirect (to: uri ([self ::class, 'testCanSharePropsFromAnyWhere ' ]));
9495 }
9596
96- #[Post (uri: '/test-post-with-redirect ' )]
97+ #[Delete (uri: '/test-post-with-redirect ' )]
9798 public function testPostWithRedirect (): Redirect
9899 {
99100 return new Redirect (to: uri ([static ::class, 'index ' ]));
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ public function test_middleware_is_registered(): void
2323 #[TestWith(
2424 [
2525 'testPostWithRedirect ' ,
26- 'post ' ,
26+ 'delete ' ,
2727 ],
28- name: 'post ' ,
28+ name: 'delete ' ,
2929 )]
3030 #[TestWith(
3131 [
You can’t perform that action at this time.
0 commit comments