diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-07-29 15:34:02 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-07-29 15:34:02 +0100 |
commit | 3ef680d96623eb6350015843f56b55b593a053bd (patch) | |
tree | 8bfd50c8eb3d0380d7eac55f6d1744d55e984e68 /tests/lib | |
parent | 332492548fbbff1d1d06286a5d5880cf4beee507 (diff) | |
parent | 943fc1b8e56a8e9121bdfb441e540de044075641 (diff) | |
download | nextcloud-server-3ef680d96623eb6350015843f56b55b593a053bd.tar.gz nextcloud-server-3ef680d96623eb6350015843f56b55b593a053bd.zip |
Merge pull request #17950 from owncloud/config-dontdetectfschangesinrootbydefault
Disable filesystem_check_changes by default
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/files/cache/watcher.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/files/cache/watcher.php b/tests/lib/files/cache/watcher.php index e6947e36a17..acc03cc4c77 100644 --- a/tests/lib/files/cache/watcher.php +++ b/tests/lib/files/cache/watcher.php @@ -39,6 +39,7 @@ class Watcher extends \Test\TestCase { $storage = $this->getTestStorage(); $cache = $storage->getCache(); $updater = $storage->getWatcher(); + $updater->setPolicy(\OC\Files\Cache\Watcher::CHECK_ONCE); //set the mtime to the past so it can detect an mtime change $cache->put('', array('storage_mtime' => 10)); @@ -79,6 +80,7 @@ class Watcher extends \Test\TestCase { $storage = $this->getTestStorage(); $cache = $storage->getCache(); $updater = $storage->getWatcher(); + $updater->setPolicy(\OC\Files\Cache\Watcher::CHECK_ONCE); //set the mtime to the past so it can detect an mtime change $cache->put('', array('storage_mtime' => 10)); @@ -95,6 +97,7 @@ class Watcher extends \Test\TestCase { $storage = $this->getTestStorage(); $cache = $storage->getCache(); $updater = $storage->getWatcher(); + $updater->setPolicy(\OC\Files\Cache\Watcher::CHECK_ONCE); //set the mtime to the past so it can detect an mtime change $cache->put('foo.txt', array('storage_mtime' => 10)); |