summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-08-10 14:39:34 +0200
committerRobin Appelman <icewind@owncloud.com>2015-08-10 14:39:34 +0200
commitd979e54030b0069572affe173c06680597cc831d (patch)
tree63d72d28ae9aaaffe841aaa0274cd47263a67232 /tests
parent58e96e53b039365751eb8c4a2d511fcfcf507891 (diff)
downloadnextcloud-server-d979e54030b0069572affe173c06680597cc831d.tar.gz
nextcloud-server-d979e54030b0069572affe173c06680597cc831d.zip
log a warning while trying to acquire a db lock from within a transaction
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/lock/dblockingprovider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/lock/dblockingprovider.php b/tests/lib/lock/dblockingprovider.php
index 4818ef1ceca..fd6550d9c47 100644
--- a/tests/lib/lock/dblockingprovider.php
+++ b/tests/lib/lock/dblockingprovider.php
@@ -33,7 +33,7 @@ class DBLockingProvider extends LockingProvider {
*/
protected function getInstance() {
$this->connection = \OC::$server->getDatabaseConnection();
- return new \OC\Lock\DBLockingProvider($this->connection);
+ return new \OC\Lock\DBLockingProvider($this->connection, \OC::$server->getLogger());
}
public function tearDown() {