diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-06-02 15:14:37 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-06-03 17:24:40 +0200 |
commit | f81ba63a52549a7fc8cd38f64b40ab2c8d184398 (patch) | |
tree | 09389b9645bf57b85cd389c87268062462d54bfd | |
parent | ae891537018a032f296a8eb2ad0fc8ccb9eddcbd (diff) | |
download | nextcloud-server-f81ba63a52549a7fc8cd38f64b40ab2c8d184398.tar.gz nextcloud-server-f81ba63a52549a7fc8cd38f64b40ab2c8d184398.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 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); |