From f81ba63a52549a7fc8cd38f64b40ab2c8d184398 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 2 Jun 2015 15:14:37 +0200 Subject: Disable update check test when testing wrappers The checkUpdate test is intended for testing real storages, not wrappers. --- tests/lib/files/storage/storage.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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); -- cgit v1.2.3