Skip to content

Commit b68e287

Browse files
committed
Update $databaseName arg in calls to assertCollectionExists()
1 parent c57c745 commit b68e287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Database/CollectionManagementFunctionalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function testCreateCollection(): void
1818

1919
$commandResult = $this->database->createCollection($basicCollectionName);
2020
$this->assertCommandSucceeded($commandResult);
21-
$this->assertCollectionExists($basicCollectionName, function (CollectionInfo $info) use ($that): void {
21+
$this->assertCollectionExists($basicCollectionName, null, function (CollectionInfo $info) use ($that): void {
2222
$that->assertFalse($info->isCapped());
2323
});
2424

@@ -31,7 +31,7 @@ public function testCreateCollection(): void
3131

3232
$commandResult = $this->database->createCollection($cappedCollectionName, $cappedCollectionOptions);
3333
$this->assertCommandSucceeded($commandResult);
34-
$this->assertCollectionExists($cappedCollectionName, function (CollectionInfo $info) use ($that): void {
34+
$this->assertCollectionExists($cappedCollectionName, null, function (CollectionInfo $info) use ($that): void {
3535
$that->assertTrue($info->isCapped());
3636
$that->assertEquals(100, $info->getCappedMax());
3737
$that->assertEquals(1048576, $info->getCappedSize());

0 commit comments

Comments
 (0)