summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Db/ItemMapperAfterTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Db/ItemMapperAfterTest.php')
-rw-r--r--tests/Unit/Db/ItemMapperAfterTest.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/Unit/Db/ItemMapperAfterTest.php b/tests/Unit/Db/ItemMapperAfterTest.php
index 9b6f02655..016db1739 100644
--- a/tests/Unit/Db/ItemMapperAfterTest.php
+++ b/tests/Unit/Db/ItemMapperAfterTest.php
@@ -92,8 +92,8 @@ class ItemMapperAfterTest extends MapperTestUtility
->willReturnSelf();
$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')
@@ -163,8 +163,8 @@ class ItemMapperAfterTest extends MapperTestUtility
->willReturnSelf();
$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')
@@ -231,8 +231,8 @@ class ItemMapperAfterTest extends MapperTestUtility
->willReturnSelf();
$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')
@@ -305,8 +305,8 @@ class ItemMapperAfterTest extends MapperTestUtility
->willReturnSelf();
$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')
@@ -374,8 +374,8 @@ class ItemMapperAfterTest extends MapperTestUtility
->willReturnSelf();
$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')
@@ -443,8 +443,8 @@ class ItemMapperAfterTest extends MapperTestUtility
->willReturnSelf();
$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')
@@ -506,8 +506,8 @@ class ItemMapperAfterTest extends MapperTestUtility
->willReturnSelf();
$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')
@@ -572,8 +572,8 @@ class ItemMapperAfterTest extends MapperTestUtility
->willReturnSelf();
$this->builder->expects($this->never())
- ->method('execute')
- ->will($this->returnValue($this->cursor));
+ ->method('executeQuery')
+ ->willReturn($this->cursor);
$this->cursor->expects($this->never())
->method('fetch')