Skip to content

Commit 219b648

Browse files
committed
Fix BucketFunctionalTest::testOpenDownloadStreamByNameShouldRequireFilenameAndRevisionToExist
1 parent 2688276 commit 219b648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/GridFS/BucketFunctionalTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ public function testOpenDownloadStreamByNameShouldRequireFilenameAndRevisionToEx
549549
$this->bucket->uploadFromStream('filename', $this->createStream('bar'));
550550

551551
$this->expectException(FileNotFoundException::class);
552-
$this->bucket->openDownloadStream($filename);
552+
$this->bucket->openDownloadStreamByName($filename, ['revision' => $revision]);
553553
}
554554

555555
public function testOpenUploadStream(): void

0 commit comments

Comments
 (0)