summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Db/ItemMapperTest.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2021-04-13 13:50:31 +0200
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-14 13:56:54 +0200
commit111bf5fff2c9856a9fe9e1935296451183f70f60 (patch)
tree3c7792767333af5994d52f43f8ca46168f353c93 /tests/Unit/Db/ItemMapperTest.php
parent8dc8f98119d630ef3de8e3d5b348ee25088de16a (diff)
DB: only sort on item IDs
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'tests/Unit/Db/ItemMapperTest.php')
-rw-r--r--tests/Unit/Db/ItemMapperTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Unit/Db/ItemMapperTest.php b/tests/Unit/Db/ItemMapperTest.php
index 5cb42c3fa..12c022893 100644
--- a/tests/Unit/Db/ItemMapperTest.php
+++ b/tests/Unit/Db/ItemMapperTest.php
@@ -752,7 +752,7 @@ class ItemMapperTest extends MapperTestUtility
->with('starred = false')
->willReturnSelf();
- $builder2->expects($this->once())
+ $builder2->expects($this->never())
->method('orderBy')
->with('last_modified', 'DESC')
->willReturnSelf();
@@ -910,7 +910,7 @@ class ItemMapperTest extends MapperTestUtility
->withConsecutive(['starred = false'], ['unread = false'])
->willReturnSelf();
- $builder2->expects($this->once())
+ $builder2->expects($this->never())
->method('orderBy')
->with('last_modified', 'DESC')
->willReturnSelf();
@@ -1067,7 +1067,7 @@ class ItemMapperTest extends MapperTestUtility
->withConsecutive(['starred = false'], ['unread = false'])
->willReturnSelf();
- $builder2->expects($this->once())
+ $builder2->expects($this->never())
->method('orderBy')
->with('last_modified', 'DESC')
->willReturnSelf();