We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8b750b commit 1f4ba30Copy full SHA for 1f4ba30
1 file changed
tests/system/Filters/FiltersTest.php
@@ -50,11 +50,19 @@ protected function setUp(): void
50
51
Services::autoloader()->addNamespace($defaults);
52
53
+ $_SERVER = [];
54
+
55
$this->response = Services::response();
56
}
57
58
public function testProcessMethodDetectsCLI()
59
{
60
+ $_SERVER['argv'] = [
61
+ 'spark',
62
+ 'list',
63
+ ];
64
+ $_SERVER['argc'] = 2;
65
66
$config = [
67
'aliases' => ['foo' => ''],
68
'methods' => [
0 commit comments