Skip to content

Commit a538fcf

Browse files
authored
Corrected method on testResourcesWithWebsafe
1 parent 62acd07 commit a538fcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/system/Router/RouteCollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ public function testResourcesWithExcept()
494494

495495
public function testResourcesWithWebsafe()
496496
{
497-
Services::request()->setMethod('get');
497+
Services::request()->setMethod('post');
498498
$routes = $this->getCollector();
499499

500500
$routes->resource('photos', ['websafe' => true]);

0 commit comments

Comments
 (0)