aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Repair/RemoveRootSharesTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Repair/RemoveRootSharesTest.php')
-rw-r--r--tests/lib/Repair/RemoveRootSharesTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Repair/RemoveRootSharesTest.php b/tests/lib/Repair/RemoveRootSharesTest.php
index cfb81cb1ecc..9a4882bef29 100644
--- a/tests/lib/Repair/RemoveRootSharesTest.php
+++ b/tests/lib/Repair/RemoveRootSharesTest.php
@@ -180,7 +180,7 @@ class RemoveRootSharesTest extends \Test\TestCase {
//Verify
$qb = $this->connection->getQueryBuilder();
- $qb->selectAlias($qb->createFunction('COUNT(*)'), 'count')
+ $qb->select($qb->func()->count('*', 'count'))
->from('share');
$cursor = $qb->execute();