Skip to content

Commit fe6babf

Browse files
committed
test: replace 'get' with 'GET'
1 parent 375c340 commit fe6babf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/system/Commands/Utilities/Routes/FilterFinderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private function createFilters(array $config = []): Filters
8787
],
8888
],
8989
'methods' => [
90-
'get' => [],
90+
'GET' => [],
9191
],
9292
'filters' => [
9393
'honeypot' => ['before' => ['form/*', 'survey/*']],
@@ -215,7 +215,7 @@ public function testFilterOrder()
215215
],
216216
],
217217
'methods' => [
218-
'get' => ['method1', 'method2'],
218+
'GET' => ['method1', 'method2'],
219219
],
220220
'filters' => [
221221
'filter1' => ['before' => '*', 'after' => '*'],
@@ -280,7 +280,7 @@ public function testFilterOrderWithOldFilterOrder()
280280
],
281281
],
282282
'methods' => [
283-
'get' => ['method1', 'method2'],
283+
'GET' => ['method1', 'method2'],
284284
],
285285
'filters' => [
286286
'filter1' => ['before' => '*', 'after' => '*'],

tests/system/Helpers/URLHelper/MiscUrlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ public function testUrlToMissingArgument(): void
966966

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

972972
url_to('loginURL');

0 commit comments

Comments
 (0)