summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Db/ItemMapperTest.php
diff options
context:
space:
mode:
authorSean Molenaar <SMillerDev@users.noreply.github.com>2021-11-15 19:57:50 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2021-11-18 14:10:57 +0100
commita52eee5671c81df6b1b1afffc12bd183354affe8 (patch)
tree368150bdf599ed81c4711b3cc9ab7f73e8b575b2 /tests/Unit/Db/ItemMapperTest.php
parent7d05abc7691c52db803acc1837d2b4f2c7941017 (diff)
chore: use executeStatement instead of executeUpdate
Signed-off-by: Sean Molenaar sean@seanmolenaar.eu Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
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));