diff options
Diffstat (limited to 'tests/Unit/Db/ItemMapperAfterTest.php')
-rw-r--r-- | tests/Unit/Db/ItemMapperAfterTest.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/Unit/Db/ItemMapperAfterTest.php b/tests/Unit/Db/ItemMapperAfterTest.php index 68bad19dc..9b6f02655 100644 --- a/tests/Unit/Db/ItemMapperAfterTest.php +++ b/tests/Unit/Db/ItemMapperAfterTest.php @@ -81,7 +81,7 @@ class ItemMapperAfterTest extends MapperTestUtility ]) ->will($this->returnSelf()); - $this->builder->expects($this->once()) + $this->builder->expects($this->never()) ->method('orderBy') ->with('items.last_modified', 'DESC') ->will($this->returnSelf()); @@ -152,7 +152,7 @@ class ItemMapperAfterTest extends MapperTestUtility ->with('unread', true) ->will($this->returnSelf()); - $this->builder->expects($this->once()) + $this->builder->expects($this->never()) ->method('orderBy') ->with('items.last_modified', 'DESC') ->will($this->returnSelf()); @@ -220,7 +220,7 @@ class ItemMapperAfterTest extends MapperTestUtility ]) ->will($this->returnSelf()); - $this->builder->expects($this->once()) + $this->builder->expects($this->never()) ->method('orderBy') ->with('items.last_modified', 'DESC') ->will($this->returnSelf()); @@ -294,7 +294,7 @@ class ItemMapperAfterTest extends MapperTestUtility ->with('unread', true) ->will($this->returnSelf()); - $this->builder->expects($this->once()) + $this->builder->expects($this->never()) ->method('orderBy') ->with('items.last_modified', 'DESC') ->will($this->returnSelf()); @@ -363,7 +363,7 @@ class ItemMapperAfterTest extends MapperTestUtility ->with('unread', true) ->will($this->returnSelf()); - $this->builder->expects($this->once()) + $this->builder->expects($this->never()) ->method('orderBy') ->with('items.last_modified', 'DESC') ->will($this->returnSelf()); @@ -432,7 +432,7 @@ class ItemMapperAfterTest extends MapperTestUtility ->with('starred', true) ->will($this->returnSelf()); - $this->builder->expects($this->once()) + $this->builder->expects($this->never()) ->method('orderBy') ->with('items.last_modified', 'DESC') ->will($this->returnSelf()); @@ -495,7 +495,7 @@ class ItemMapperAfterTest extends MapperTestUtility ]) ->will($this->returnSelf()); - $this->builder->expects($this->once()) + $this->builder->expects($this->never()) ->method('orderBy') ->with('items.last_modified', 'DESC') ->will($this->returnSelf()); @@ -561,7 +561,7 @@ class ItemMapperAfterTest extends MapperTestUtility ]) ->will($this->returnSelf()); - $this->builder->expects($this->once()) + $this->builder->expects($this->never()) ->method('orderBy') ->with('items.last_modified', 'DESC') ->will($this->returnSelf()); |