Skip to content

Commit da70fdc

Browse files
committed
Fixed assertion in test cases
1 parent 76e995b commit da70fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Operation/CountFunctionalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function testHintOption()
5555

5656
foreach ($hintsUsingSparseIndex as $hint) {
5757
$operation = new Count($this->getDatabaseName(), $this->getCollectionName(), $filter, ['hint' => $hint]);
58-
$this->assertEquals(2, $operation->execute($this->getPrimaryServer()));
58+
$this->assertSame(2, $operation->execute($this->getPrimaryServer()));
5959
}
6060

6161
$hintsNotUsingSparseIndex = [
@@ -66,7 +66,7 @@ public function testHintOption()
6666

6767
foreach ($hintsNotUsingSparseIndex as $hint) {
6868
$operation = new Count($this->getDatabaseName(), $this->getCollectionName(), $filter, ['hint' => $hint]);
69-
$this->assertEquals(3, $operation->execute($this->getPrimaryServer()));
69+
$this->assertSame(3, $operation->execute($this->getPrimaryServer()));
7070
}
7171
}
7272

0 commit comments

Comments
 (0)