Skip to content

Commit

Permalink
Update query test file
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Lee committed Dec 10, 2014
1 parent b9e0cd8 commit a0f8750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/QueryBuilderTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ public function testGetOptions()
$this->assertEquals(array(
'w' => 0,
'fsync' => false,
'timeout' => MongoCursor::$timeout,
'connectTimeoutMS' => MongoCursor::$timeout,
), $result);

$result = $this->builder->timeout(100)->getOptions();

$this->assertEquals(array(
'w' => 0,
'fsync' => false,
'timeout' => 100,
'connectTimeoutMS' => 100,
), $result);
}
}

0 comments on commit a0f8750

Please sign in to comment.