Skip to content

Commit 524c858

Browse files
committed
Fix UTCDateTime instanciation from timestamp
1 parent fb80a82 commit 524c858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/GridFS/StreamWrapperFunctionalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function setUp(): void
4646
parent::setUp();
4747

4848
$this->filesCollection->insertMany([
49-
['_id' => 'length-10', 'length' => 10, 'chunkSize' => 4, 'uploadDate' => new UTCDateTime('1484202200000')],
49+
['_id' => 'length-10', 'length' => 10, 'chunkSize' => 4, 'uploadDate' => new UTCDateTime(1484202200000)],
5050
]);
5151

5252
$this->chunksCollection->insertMany([

0 commit comments

Comments
 (0)