summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-22 14:12:03 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-22 14:12:03 +0100
commitfe6f4a1404b9535164c2075412952f6d07af9f42 (patch)
tree1973b60895461ebda568d1f4a88f8887092efc88 /tests
parent5d296aa6b1fca69cfa14cc29eeb5f757a4b7dfad (diff)
parent48d6724a6fbf8679f9968054bbb5100fd55b93ac (diff)
downloadnextcloud-server-fe6f4a1404b9535164c2075412952f6d07af9f42.tar.gz
nextcloud-server-fe6f4a1404b9535164c2075412952f6d07af9f42.zip
Merge pull request #11810 from owncloud/hhvm-autotest
Adding autotest-hhvm.sh [WIP]
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/storage/wrapper/quota.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/files/storage/wrapper/quota.php b/tests/lib/files/storage/wrapper/quota.php
index 9e6b1c85a95..dc4de4697db 100644
--- a/tests/lib/files/storage/wrapper/quota.php
+++ b/tests/lib/files/storage/wrapper/quota.php
@@ -136,7 +136,8 @@ class Quota extends \Test\Files\Storage\Storage {
$instance = $this->getLimitedStorage(9);
$stream = $instance->fopen('foo', 'w+');
$meta = stream_get_meta_data($stream);
- $this->assertEquals('user-space', $meta['wrapper_type']);
+ $expected_type = defined('HHVM_VERSION') ? 'File' : 'user-space';
+ $this->assertEquals($expected_type, $meta['wrapper_type']);
fclose($stream);
}