Skip to content
Browse files

Fixing the getAllDocs test with keys in descending order.

  • Loading branch information...
1 parent 6c02c28 commit 7e590798ce56b835619bf13384b3f030ccfddcb3 @sbisbee committed Jul 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/SagTest.php
View
2 tests/SagTest.php
@@ -217,7 +217,7 @@ public function test_getAllDocs()
$this->assertTrue(isset($resDefaults->body->rows[0]->value));
$this->assertFalse(isset($resDefaults->body->rows[0]->doc));
- $resDescending = $this->couch->getAllDocs(true, null, '[]', '""', null, true);
+ $resDescending = $this->couch->getAllDocs(true, null, '{}', '1', null, true);
$this->assertEquals('1', end($resDescending->body->rows)->id);
try {

0 comments on commit 7e59079

Please sign in to comment.
Something went wrong with that request. Please try again.