summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-09 23:32:32 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-09 23:32:32 +0200
commitc3d90b96c8ec4bcf96e28c6ccdb194494888cc61 (patch)
tree8b394cd232420042ea85ac8fde6f6ba878942f84 /tests/lib
parentcd94b54be3676a2be772ef76c39ad706ff3eb947 (diff)
parentfa718d2e2cccb8e48b89044166a80b82b91288fa (diff)
downloadnextcloud-server-c3d90b96c8ec4bcf96e28c6ccdb194494888cc61.tar.gz
nextcloud-server-c3d90b96c8ec4bcf96e28c6ccdb194494888cc61.zip
Merge pull request #10922 from owncloud/explicit-scan-transactions
Use bigger transactions when doing explicit file system scans
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/files/etagtest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/etagtest.php b/tests/lib/files/etagtest.php
index af9f66835f0..b5dec107e79 100644
--- a/tests/lib/files/etagtest.php
+++ b/tests/lib/files/etagtest.php
@@ -62,7 +62,7 @@ class EtagTest extends \PHPUnit_Framework_TestCase {
$files = array('/foo.txt', '/folder/bar.txt', '/folder/subfolder', '/folder/subfolder/qwerty.txt');
$originalEtags = $this->getEtags($files);
- $scanner = new \OC\Files\Utils\Scanner($user1);
+ $scanner = new \OC\Files\Utils\Scanner($user1, \OC::$server->getDatabaseConnection());
$scanner->backgroundScan('/');
$newEtags = $this->getEtags($files);