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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Repair/CleanTagsTest.php')
-rw-r--r--tests/lib/Repair/CleanTagsTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Repair/CleanTagsTest.php b/tests/lib/Repair/CleanTagsTest.php
index 115bce49f71..58fc6af6efb 100644
--- a/tests/lib/Repair/CleanTagsTest.php
+++ b/tests/lib/Repair/CleanTagsTest.php
@@ -117,7 +117,7 @@ class CleanTagsTest extends \Test\TestCase {
*/
protected function assertEntryCount($tableName, $expected, $message = '') {
$qb = $this->connection->getQueryBuilder();
- $result = $qb->select($qb->createFunction('COUNT(*)'))
+ $result = $qb->select($qb->func()->count('*'))
->from($tableName)
->execute();