diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2021-04-13 13:50:31 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2021-04-16 11:22:23 +0200 |
commit | e658820e19a045cd6e08b79d1800805b47d6c011 (patch) | |
tree | cbe95217909f2c581c4378a5e851615470870250 /tests/Unit/Db/ItemMapperTest.php | |
parent | 670fb34139d81eea794ca8171fb26a10f5818611 (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.php | 6 |
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(); |