Skip to content

Commit 9a71f4e

Browse files
committed
Remove use of superglobal
1 parent c888e66 commit 9a71f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Cron/Test/Unit/Observer/ProcessCronQueueObserverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ protected function setUp(): void
226226
$environmentMock->expects($this->any())
227227
->method('getServer')
228228
->with('argv')
229-
->willReturn($_SERVER['argv']);
229+
->willReturn([]);
230230

231231
$this->cronQueueObserver = new ProcessCronQueueObserver(
232232
$this->objectManagerMock,

0 commit comments

Comments
 (0)