Skip to content

Commit 757d8ec

Browse files
authored
Fix destroy http method (#143)
1 parent 9939519 commit 757d8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generators/TestGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ private function httpMethodForAction($action)
493493
return 'post';
494494
case 'update':
495495
return 'put';
496-
case 'delete':
496+
case 'destroy':
497497
return 'delete';
498498
default:
499499
return 'get';

0 commit comments

Comments
 (0)