Skip to content

Commit 0b3ac89

Browse files
Change patch method to put method to the testUpdateTask() test in the TaskTest.php
1 parent 41ebaf7 commit 0b3ac89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Feature/TaskTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function testUpdateTask(): void
6161
'title' => 'Updated name'
6262
]);
6363

64-
$response = $this->patch(route('tasks.update', $task), [
64+
$response = $this->put(route('tasks.update', $task), [
6565
'title' => 'Updated name'
6666
]);
6767

0 commit comments

Comments
 (0)