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.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Unit/Db/ItemMapperTest.php b/tests/Unit/Db/ItemMapperTest.php
index 2d831e784..7fc45018e 100644
--- a/tests/Unit/Db/ItemMapperTest.php
+++ b/tests/Unit/Db/ItemMapperTest.php
@@ -565,7 +565,7 @@ class ItemMapperTest extends MapperTestUtility
->will($this->returnValue([]));
$this->db->expects($this->exactly(1))
- ->method('executeUpdate')
+ ->method('executeStatement')
->with('QUERY');
$this->class->readAll('admin', 4);
@@ -791,7 +791,7 @@ class ItemMapperTest extends MapperTestUtility
->willReturn('DELETE_SQL');
$this->db->expects($this->once())
- ->method('executeUpdate')
+ ->method('executeStatement')
->with('DELETE_SQL', [[4, 6, 8, 3, 5, 7]], [101])
->will($this->returnValue(10));
@@ -949,7 +949,7 @@ class ItemMapperTest extends MapperTestUtility
->willReturn('DELETE_SQL');
$this->db->expects($this->once())
- ->method('executeUpdate')
+ ->method('executeStatement')
->with('DELETE_SQL', [[4, 6, 8, 3, 5, 7]], [101])
->will($this->returnValue(10));
@@ -1106,7 +1106,7 @@ class ItemMapperTest extends MapperTestUtility
->willReturn('DELETE_SQL');
$this->db->expects($this->once())
- ->method('executeUpdate')
+ ->method('executeStatement')
->with('DELETE_SQL', [[4, 6, 8]], [101])
->will($this->returnValue(10));