File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public function testProcessMethodDetectsCLI(): void
89
89
'aliases ' => ['foo ' => '' ],
90
90
'globals ' => [],
91
91
'methods ' => [
92
- 'cli ' => ['foo ' ],
92
+ 'CLI ' => ['foo ' ],
93
93
],
94
94
];
95
95
$ filtersConfig = $ this ->createConfigFromArray (FiltersConfig::class, $ config );
@@ -113,7 +113,7 @@ public function testProcessMethodDetectsGetRequests(): void
113
113
'aliases ' => ['foo ' => '' ],
114
114
'globals ' => [],
115
115
'methods ' => [
116
- 'get ' => ['foo ' ],
116
+ 'GET ' => ['foo ' ],
117
117
],
118
118
];
119
119
$ filtersConfig = $ this ->createConfigFromArray (FiltersConfig::class, $ config );
@@ -137,8 +137,8 @@ public function testProcessMethodRespectsMethod(): void
137
137
],
138
138
'globals ' => [],
139
139
'methods ' => [
140
- 'post ' => ['foo ' ],
141
- 'get ' => ['bar ' ],
140
+ 'POST ' => ['foo ' ],
141
+ 'GET ' => ['bar ' ],
142
142
],
143
143
];
144
144
$ filtersConfig = $ this ->createConfigFromArray (FiltersConfig::class, $ config );
@@ -162,8 +162,8 @@ public function testProcessMethodIgnoresMethod(): void
162
162
],
163
163
'globals ' => [],
164
164
'methods ' => [
165
- 'post ' => ['foo ' ],
166
- 'get ' => ['bar ' ],
165
+ 'POST ' => ['foo ' ],
166
+ 'GET ' => ['bar ' ],
167
167
],
168
168
];
169
169
$ filtersConfig = $ this ->createConfigFromArray (FiltersConfig::class, $ config );
@@ -348,8 +348,8 @@ public function testProcessMethodProcessesCombined(): void
348
348
],
349
349
],
350
350
'methods ' => [
351
- 'post ' => ['foo ' ],
352
- 'get ' => ['bar ' ],
351
+ 'POST ' => ['foo ' ],
352
+ 'GET ' => ['bar ' ],
353
353
],
354
354
'filters ' => [
355
355
'foof ' => [
@@ -391,7 +391,7 @@ public function testProcessMethodProcessesCombinedAfterForToolbar(): void
391
391
],
392
392
],
393
393
'methods ' => [
394
- 'get ' => ['bar ' ],
394
+ 'GET ' => ['bar ' ],
395
395
],
396
396
'filters ' => [
397
397
'foof ' => [
You can’t perform that action at this time.
0 commit comments