diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-14 18:08:52 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-14 18:08:52 +0200 |
commit | d9acb9ed876d9814e468081d799f06ffd631580f (patch) | |
tree | 887653ca34a9b67adeb60435b3dd37f7329619c3 /tests/unit/businesslayer | |
parent | f52cdaa750f1efa8cb76f6d88c9b1dc291f7b328 (diff) |
add serverside possibility to order by oldest first
Diffstat (limited to 'tests/unit/businesslayer')
-rw-r--r-- | tests/unit/businesslayer/ItemBusinessLayerTest.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/unit/businesslayer/ItemBusinessLayerTest.php b/tests/unit/businesslayer/ItemBusinessLayerTest.php index 1b31963c1..48c077460 100644 --- a/tests/unit/businesslayer/ItemBusinessLayerTest.php +++ b/tests/unit/businesslayer/ItemBusinessLayerTest.php @@ -127,7 +127,8 @@ class ItemBusinessLayerTest extends \PHPUnit_Framework_TestCase { $this->equalTo($this->limit), $this->equalTo($this->offset), $this->equalTo($this->status), - $this->equalTo($this->user)) + $this->equalTo($this->user), + $this->equalTo(false)) ->will($this->returnValue($this->response)); $result = $this->itemBusinessLayer->findAll( @@ -164,13 +165,14 @@ class ItemBusinessLayerTest extends \PHPUnit_Framework_TestCase { ->with( $this->equalTo($this->limit), $this->equalTo($this->offset), $this->equalTo($this->status), - $this->equalTo($this->user)) + $this->equalTo($this->user), + $this->equalTo(true)) ->will($this->returnValue($this->response)); $result = $this->itemBusinessLayer->findAll( $this->id, $type, $this->limit, $this->offset, $this->showAll, - $this->user); + $this->user, true); $this->assertEquals($this->response, $result); } |