From df679f69710f4fc16bd277626de533d1a9865e38 Mon Sep 17 00:00:00 2001 From: rahul Date: Sun, 10 Sep 2023 18:10:10 +0530 Subject: [PATCH] correction Signed-off-by: rahul Signed-off-by: rahul --- tests/Integration/StreamHandlerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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));