diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-09-09 23:32:32 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-09-09 23:32:32 +0200 |
commit | c3d90b96c8ec4bcf96e28c6ccdb194494888cc61 (patch) | |
tree | 8b394cd232420042ea85ac8fde6f6ba878942f84 /tests/lib | |
parent | cd94b54be3676a2be772ef76c39ad706ff3eb947 (diff) | |
parent | fa718d2e2cccb8e48b89044166a80b82b91288fa (diff) | |
download | nextcloud-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.php | 2 |
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); |