Skip to content

Commit

Permalink
test: replace 'get' with 'GET'
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Nov 19, 2023
1 parent 375c340 commit fe6babf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/system/Commands/Utilities/Routes/FilterFinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private function createFilters(array $config = []): Filters
],
],
'methods' => [
'get' => [],
'GET' => [],
],
'filters' => [
'honeypot' => ['before' => ['form/*', 'survey/*']],
Expand Down Expand Up @@ -215,7 +215,7 @@ public function testFilterOrder()
],
],
'methods' => [
'get' => ['method1', 'method2'],
'GET' => ['method1', 'method2'],
],
'filters' => [
'filter1' => ['before' => '*', 'after' => '*'],
Expand Down Expand Up @@ -280,7 +280,7 @@ public function testFilterOrderWithOldFilterOrder()
],
],
'methods' => [
'get' => ['method1', 'method2'],
'GET' => ['method1', 'method2'],
],
'filters' => [
'filter1' => ['before' => '*', 'after' => '*'],
Expand Down
2 changes: 1 addition & 1 deletion tests/system/Helpers/URLHelper/MiscUrlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ public function testUrlToMissingArgument(): void

$routes = Services::routes();
$routes->group('(:alpha)', static function ($routes): void {
$routes->match(['get'], 'login', 'Common\LoginController::loginView', ['as' => 'loginURL']);
$routes->match(['GET'], 'login', 'Common\LoginController::loginView', ['as' => 'loginURL']);
});

url_to('loginURL');
Expand Down

0 comments on commit fe6babf

Please sign in to comment.