diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-06-02 15:14:37 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-06-02 15:14:37 +0200 |
commit | 120588dd7a22af9f1e85ad85e192c5aede92b32c (patch) | |
tree | 7cdced20c0ee3cb872354004cc81e7f2f81b6416 | |
parent | c4cb93e6448f217afad33c684e02fd9e8614f976 (diff) | |
download | nextcloud-server-120588dd7a22af9f1e85ad85e192c5aede92b32c.tar.gz nextcloud-server-120588dd7a22af9f1e85ad85e192c5aede92b32c.zip |
Disable update check test when testing wrappers
The checkUpdate test is intended for testing real storages, not
wrappers.
-rw-r--r-- | tests/lib/files/storage/storage.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/files/storage/storage.php b/tests/lib/files/storage/storage.php index 4ec474f2f01..2355009c9bf 100644 --- a/tests/lib/files/storage/storage.php +++ b/tests/lib/files/storage/storage.php @@ -316,6 +316,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); |