Skip to content

Commit 1fbfc2c

Browse files
committed
Use assertCollectionDoesNotExist()
1 parent a833475 commit 1fbfc2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Database/DatabaseFunctionalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function testDropCollection(): void
169169

170170
$commandResult = $this->database->dropCollection($this->getCollectionName());
171171
$this->assertCommandSucceeded($commandResult);
172-
$this->assertCollectionCount($this->getNamespace(), 0);
172+
$this->assertCollectionDoesNotExist($this->getCollectionName());
173173
}
174174

175175
public function testGetSelectsCollectionAndInheritsOptions(): void

0 commit comments

Comments
 (0)