Unverified Commit cf7f6ab2 authored by Andreas Braun's avatar Andreas Braun

Merge pull request #653

parents f4c529cc a972bfae
...@@ -1356,7 +1356,8 @@ class DocumentationExamplesTest extends FunctionalTestCase ...@@ -1356,7 +1356,8 @@ class DocumentationExamplesTest extends FunctionalTestCase
{ {
$session->startTransaction([ $session->startTransaction([
'readConcern' => new \MongoDB\Driver\ReadConcern("snapshot"), 'readConcern' => new \MongoDB\Driver\ReadConcern("snapshot"),
'writeConcern' => new \MongoDB\Driver\WriteConcern(\MongoDB\Driver\WriteConcern::MAJORITY) 'readPrefernece' => new \MongoDB\Driver\ReadPreference(\MongoDB\Driver\ReadPreference::RP_PRIMARY),
'writeConcern' => new \MongoDB\Driver\WriteConcern(\MongoDB\Driver\WriteConcern::MAJORITY),
]); ]);
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment