Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-06-02 16:14:37 +0300
committerVincent Petry <pvince81@owncloud.com>2015-06-03 18:24:40 +0300
commitf81ba63a52549a7fc8cd38f64b40ab2c8d184398 (patch)
tree09389b9645bf57b85cd389c87268062462d54bfd /tests
parentae891537018a032f296a8eb2ad0fc8ccb9eddcbd (diff)
Disable update check test when testing wrappers
The checkUpdate test is intended for testing real storages, not wrappers.
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/storage/storage.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/files/storage/storage.php b/tests/lib/files/storage/storage.php
index 8209c40b757..7f1900aca25 100644
--- a/tests/lib/files/storage/storage.php
+++ b/tests/lib/files/storage/storage.php
@@ -314,6 +314,9 @@ abstract class Storage extends \Test\TestCase {
* no change.
*/
public function testCheckUpdate() {
+ if ($this->instance instanceof \OC\Files\Storage\Wrapper\Wrapper) {
+ $this->markTestSkipped('Cannot test update check on wrappers');
+ }
$textFile = \OC::$SERVERROOT . '/tests/data/lorem.txt';
$watcher = $this->instance->getWatcher();
$watcher->setPolicy(Watcher::CHECK_ALWAYS);