summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Db/ItemMapperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Db/ItemMapperTest.php')
-rw-r--r--tests/Unit/Db/ItemMapperTest.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/Unit/Db/ItemMapperTest.php b/tests/Unit/Db/ItemMapperTest.php
index 15ebbac1a..2d831e784 100644
--- a/tests/Unit/Db/ItemMapperTest.php
+++ b/tests/Unit/Db/ItemMapperTest.php
@@ -107,8 +107,8 @@ class ItemMapperTest extends MapperTestUtility
->will($this->returnSelf());
$this->builder->expects($this->once())
- ->method('execute')
- ->will($this->returnValue($this->cursor));
+ ->method('executeQuery')
+ ->willReturn($this->cursor);
$this->cursor->expects($this->exactly(3))
->method('fetch')
@@ -168,8 +168,8 @@ class ItemMapperTest extends MapperTestUtility
->will($this->returnSelf());
$this->builder->expects($this->once())
- ->method('execute')
- ->will($this->returnValue($this->cursor));
+ ->method('executeQuery')
+ ->willReturn($this->cursor);
$this->cursor->expects($this->exactly(3))
->method('fetch')
@@ -213,8 +213,8 @@ class ItemMapperTest extends MapperTestUtility
->will($this->returnSelf());
$this->builder->expects($this->once())
- ->method('execute')
- ->will($this->returnValue($this->cursor));
+ ->method('executeQuery')
+ ->willReturn($this->cursor);
$this->cursor->expects($this->exactly(3))
->method('fetch')
@@ -258,8 +258,8 @@ class ItemMapperTest extends MapperTestUtility
->will($this->returnSelf());
$this->builder->expects($this->once())
- ->method('execute')
- ->will($this->returnValue($this->cursor));
+ ->method('executeQuery')
+ ->willReturn($this->cursor);
$this->cursor->expects($this->exactly(3))
->method('fetch')
@@ -310,8 +310,8 @@ class ItemMapperTest extends MapperTestUtility
->will($this->returnSelf());
$this->builder->expects($this->once())
- ->method('execute')
- ->will($this->returnValue($this->cursor));
+ ->method('executeQuery')
+ ->willReturn($this->cursor);
$this->cursor->expects($this->exactly(2))
->method('fetch')
@@ -351,8 +351,8 @@ class ItemMapperTest extends MapperTestUtility
->will($this->returnSelf());
$this->builder->expects($this->once())
- ->method('execute')
- ->will($this->returnValue($this->cursor));
+ ->method('executeQuery')
+ ->willReturn($this->cursor);
$this->cursor->expects($this->exactly(2))
->method('fetch')
@@ -397,8 +397,8 @@ class ItemMapperTest extends MapperTestUtility
->will($this->returnSelf());
$this->builder->expects($this->once())
- ->method('execute')
- ->will($this->returnValue($this->cursor));
+ ->method('executeQuery')
+ ->willReturn($this->cursor);
$this->cursor->expects($this->exactly(2))
->method('fetch')
@@ -458,8 +458,8 @@ class ItemMapperTest extends MapperTestUtility
->will($this->returnSelf());
$this->builder->expects($this->once())
- ->method('execute')
- ->will($this->returnValue($this->cursor));
+ ->method('executeQuery')
+ ->willReturn($this->cursor);
$this->cursor->expects($this->exactly(2))
->method('fetch')