Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2022-08-18 22:38:33 +0300
committerBenjamin Brahmer <info@b-brahmer.de>2022-08-18 22:38:33 +0300
commit589cc6b9ab2bcab511f8c4be8609989efb16d103 (patch)
tree8c674e469b9347ec0683b27888f2534a1f4d3228
parentd8b39128c4fde24e890c0e5f44c627c66d57884c (diff)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-rw-r--r--tests/Unit/Db/NewsMapperTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Unit/Db/NewsMapperTest.php b/tests/Unit/Db/NewsMapperTest.php
index c7ce7342a..aa1be5989 100644
--- a/tests/Unit/Db/NewsMapperTest.php
+++ b/tests/Unit/Db/NewsMapperTest.php
@@ -169,7 +169,7 @@ class NewsMapperTest extends TestCase
->will($this->returnSelf());
$qb->expects($this->once())
- ->method('execute');
+ ->method('executeStatement');
$result = $this->class->purgeDeleted(null, null);
}
@@ -202,7 +202,7 @@ class NewsMapperTest extends TestCase
->will($this->returnSelf());
$qb->expects($this->once())
- ->method('execute');
+ ->method('executeStatement');
$result = $this->class->purgeDeleted('jack', null);
}
@@ -235,7 +235,7 @@ class NewsMapperTest extends TestCase
->will($this->returnSelf());
$qb->expects($this->once())
- ->method('execute');
+ ->method('executeStatement');
$result = $this->class->purgeDeleted(null, 1);
}
@@ -268,7 +268,7 @@ class NewsMapperTest extends TestCase
->will($this->returnSelf());
$qb->expects($this->once())
- ->method('execute');
+ ->method('executeStatement');
$result = $this->class->purgeDeleted('jack', 1);
}