diff --git a/tests/Integration/StreamHandlerTest.php b/tests/Integration/StreamHandlerTest.php index f19eb72..a4f0bac 100644 --- a/tests/Integration/StreamHandlerTest.php +++ b/tests/Integration/StreamHandlerTest.php @@ -32,7 +32,8 @@ public function streamAndWriteToFile($urls) $stream = new StreamHandler($urls); $stream->initiateConcurrentStreams()->start()->resume(); - foreach ($urls as $file => $url) { + $files = array_keys($urls); + foreach ($files as $file) { $this->assertGreaterThan(0, filesize($file)); $this->assertStringContainsString('', file_get_contents($file)); $this->assertStringContainsString('', file_get_contents($file));