Skip to content

Commit 030c54b

Browse files
committed
test: fix test case
1 parent 240618e commit 030c54b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/system/Filters/FiltersTest.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,23 @@ public static function provideProcessMethodProcessGlobalsWithExcept(): iterable
215215
['admin/*'],
216216
],
217217
[
218-
[],
218+
['admin/*', 'foo/*'],
219+
],
220+
[
221+
['*'],
222+
],
223+
[
224+
'admin/*',
219225
],
220226
];
221227
}
222228

223229
/**
224230
* @dataProvider provideProcessMethodProcessGlobalsWithExcept
231+
*
232+
* @param array|string $except
225233
*/
226-
public function testProcessMethodProcessGlobalsWithExcept(array $except): void
234+
public function testProcessMethodProcessGlobalsWithExcept($except): void
227235
{
228236
$_SERVER['REQUEST_METHOD'] = 'GET';
229237

0 commit comments

Comments
 (0)