Skip to content

Commit b43b954

Browse files
committed
Revise name of Collection::withOptions() tests
1 parent 5f71c1b commit b43b954

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Collection/CollectionFunctionalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function testFindOne()
127127
$this->assertSameDocument($expected, $this->collection->findOne($filter, $options));
128128
}
129129

130-
public function testWithOptionsInheritsReadPreferenceAndWriteConcern()
130+
public function testWithOptionsInheritsOptions()
131131
{
132132
$collectionOptions = [
133133
'readConcern' => new ReadConcern(ReadConcern::LOCAL),
@@ -150,7 +150,7 @@ public function testWithOptionsInheritsReadPreferenceAndWriteConcern()
150150
$this->assertSame(WriteConcern::MAJORITY, $debug['writeConcern']->getW());
151151
}
152152

153-
public function testWithOptionsPassesReadPreferenceAndWriteConcern()
153+
public function testWithOptionsPassesOptions()
154154
{
155155
$collectionOptions = [
156156
'readConcern' => new ReadConcern(ReadConcern::LOCAL),

0 commit comments

Comments
 (0)