[Pkg-owncloud-commits] [owncloud] 262/457: Disable update check test when testing wrappers
David Prévot
taffit at moszumanska.debian.org
Sun Jun 28 20:06:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 120588dd7a22af9f1e85ad85e192c5aede92b32c
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 4ec474f..2355009 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);
--
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