summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Db/FeedMapperTest.php4
-rw-r--r--tests/Unit/Db/FolderMapperTest.php4
-rw-r--r--tests/Unit/Db/ItemMapperTest.php8
3 files changed, 8 insertions, 8 deletions
diff --git a/tests/Unit/Db/FeedMapperTest.php b/tests/Unit/Db/FeedMapperTest.php
index c42ffee67..499989062 100644
--- a/tests/Unit/Db/FeedMapperTest.php
+++ b/tests/Unit/Db/FeedMapperTest.php
@@ -551,7 +551,7 @@ class FeedMapperTest extends MapperTestUtility
->will($this->returnValue([]));
$this->db->expects($this->exactly(1))
- ->method('executeUpdate')
+ ->method('executeStatement')
->with('QUERY');
$this->class->read('admin', 1);
@@ -653,7 +653,7 @@ class FeedMapperTest extends MapperTestUtility
->will($this->returnValue([]));
$this->db->expects($this->exactly(1))
- ->method('executeUpdate')
+ ->method('executeStatement')
->with('QUERY');
$this->class->read('admin', 1, 4);
diff --git a/tests/Unit/Db/FolderMapperTest.php b/tests/Unit/Db/FolderMapperTest.php
index 3e15e8004..a7f9f0c9d 100644
--- a/tests/Unit/Db/FolderMapperTest.php
+++ b/tests/Unit/Db/FolderMapperTest.php
@@ -379,7 +379,7 @@ class FolderMapperTest extends MapperTestUtility
->will($this->returnValue([]));
$this->db->expects($this->exactly(1))
- ->method('executeUpdate')
+ ->method('executeStatement')
->with('QUERY');
$this->class->read('admin', 1);
@@ -482,7 +482,7 @@ class FolderMapperTest extends MapperTestUtility
->will($this->returnValue([]));
$this->db->expects($this->exactly(1))
- ->method('executeUpdate')
+ ->method('executeStatement')
->with('QUERY');
$this->class->read('admin', 1, 4);
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));