summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-09-08 01:34:03 +0200
committerRobin Appelman <icewind@owncloud.com>2014-09-08 14:15:41 +0200
commit644755df663e8dc295e92700da208a28c13cbaab (patch)
treeed9299c6e9d5091248c57907827721b15b70a82e /tests
parent637cff68ac2944d6029eb015640bbbd0e686641b (diff)
downloadnextcloud-server-644755df663e8dc295e92700da208a28c13cbaab.tar.gz
nextcloud-server-644755df663e8dc295e92700da208a28c13cbaab.zip
Use bigger transactions when doing explicit file system scans
Diffstat (limited to 'tests')
-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);