diff options
Diffstat (limited to 'tests/lib/Lock')
-rw-r--r-- | tests/lib/Lock/DBLockingProviderTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Lock/DBLockingProviderTest.php b/tests/lib/Lock/DBLockingProviderTest.php index 3f53589d8f1..31abd330fed 100644 --- a/tests/lib/Lock/DBLockingProviderTest.php +++ b/tests/lib/Lock/DBLockingProviderTest.php @@ -94,7 +94,7 @@ class DBLockingProviderTest extends LockingProvider { private function getLockEntryCount() { $query = $this->connection->prepare('SELECT count(*) FROM `*PREFIX*file_locks`'); $query->execute(); - return $query->fetchColumn(); + return $query->fetchOne(); } protected function getLockValue($key) { @@ -104,7 +104,7 @@ class DBLockingProviderTest extends LockingProvider { ->where($query->expr()->eq('key', $query->createNamedParameter($key))); $result = $query->execute(); - $rows = $result->fetchColumn(); + $rows = $result->fetchOne(); $result->closeCursor(); return $rows; |