Skip to content

Commit 36519c2

Browse files
authored
correction (#11)
Signed-off-by: rahul <[email protected]>
1 parent 1f7ddcf commit 36519c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Integration/StreamHandlerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ public function streamAndWriteToFile($urls)
3232
$stream = new StreamHandler($urls);
3333
$stream->initiateConcurrentStreams()->start()->resume();
3434

35-
foreach ($urls as $file => $url) {
35+
$files = array_keys($urls);
36+
foreach ($files as $file) {
3637
$this->assertGreaterThan(0, filesize($file));
3738
$this->assertStringContainsString('<!DOCTYPE html>', file_get_contents($file));
3839
$this->assertStringContainsString('</html>', file_get_contents($file));

0 commit comments

Comments
 (0)