[Pkg-owncloud-commits] [owncloud] 12/62: Disable update check test when testing wrappers
David Prévot
taffit at moszumanska.debian.org
Tue Jun 23 23:39:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v8.0.5beta
in repository owncloud.
commit f81ba63a52549a7fc8cd38f64b40ab2c8d184398
Author: Vincent Petry <pvince81 at owncloud.com>
Date: Tue Jun 2 15:14:37 2015 +0200
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(+)
diff --git a/tests/lib/files/storage/storage.php b/tests/lib/files/storage/storage.php
index 8209c40..7f1900a 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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list