diff --git a/tests/system/Commands/Utilities/Routes/FilterFinderTest.php b/tests/system/Commands/Utilities/Routes/FilterFinderTest.php index c59c9b9aee8e..23ecb5c97f0b 100644 --- a/tests/system/Commands/Utilities/Routes/FilterFinderTest.php +++ b/tests/system/Commands/Utilities/Routes/FilterFinderTest.php @@ -87,7 +87,7 @@ private function createFilters(array $config = []): Filters ], ], 'methods' => [ - 'get' => [], + 'GET' => [], ], 'filters' => [ 'honeypot' => ['before' => ['form/*', 'survey/*']], @@ -215,7 +215,7 @@ public function testFilterOrder() ], ], 'methods' => [ - 'get' => ['method1', 'method2'], + 'GET' => ['method1', 'method2'], ], 'filters' => [ 'filter1' => ['before' => '*', 'after' => '*'], @@ -280,7 +280,7 @@ public function testFilterOrderWithOldFilterOrder() ], ], 'methods' => [ - 'get' => ['method1', 'method2'], + 'GET' => ['method1', 'method2'], ], 'filters' => [ 'filter1' => ['before' => '*', 'after' => '*'], diff --git a/tests/system/Helpers/URLHelper/MiscUrlTest.php b/tests/system/Helpers/URLHelper/MiscUrlTest.php index 04da4f7352fe..62a86b675fad 100644 --- a/tests/system/Helpers/URLHelper/MiscUrlTest.php +++ b/tests/system/Helpers/URLHelper/MiscUrlTest.php @@ -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');