summaryrefslogtreecommitdiffstats
path: root/tests/lib/cache
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-11-04 21:12:18 +0100
committerRobin Appelman <icewind@owncloud.com>2012-11-04 21:12:18 +0100
commit4b940955ddb3266f625eae83da412a655efef319 (patch)
tree8ed6bb2fae2f5fa3cb61c630e3dc98af5e99d656 /tests/lib/cache
parent8a6bb7965d96b1c4297da8f5dbc9644fec7aeb0f (diff)
parent555dd5c261e52cf64f5a8eb6f4d03635cedafbbe (diff)
downloadnextcloud-server-4b940955ddb3266f625eae83da412a655efef319.tar.gz
nextcloud-server-4b940955ddb3266f625eae83da412a655efef319.zip
merge master into filesystem
Diffstat (limited to 'tests/lib/cache')
-rw-r--r--tests/lib/cache/apc.php4
-rw-r--r--tests/lib/cache/xcache.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/cache/apc.php b/tests/lib/cache/apc.php
index f68b97bcbd9..bb5eb483dbf 100644
--- a/tests/lib/cache/apc.php
+++ b/tests/lib/cache/apc.php
@@ -22,11 +22,11 @@
class Test_Cache_APC extends Test_Cache {
public function setUp() {
- if(!extension_loaded('apc')){
+ if(!extension_loaded('apc')) {
$this->markTestSkipped('The apc extension is not available.');
return;
}
- if(!ini_get('apc.enable_cli') && OC::$CLI){
+ if(!ini_get('apc.enable_cli') && OC::$CLI) {
$this->markTestSkipped('apc not available in CLI.');
return;
}
diff --git a/tests/lib/cache/xcache.php b/tests/lib/cache/xcache.php
index c081036a31f..43bed2db037 100644
--- a/tests/lib/cache/xcache.php
+++ b/tests/lib/cache/xcache.php
@@ -22,7 +22,7 @@
class Test_Cache_XCache extends Test_Cache {
public function setUp() {
- if(!function_exists('xcache_get')){
+ if(!function_exists('xcache_get')) {
$this->markTestSkipped('The xcache extension is not available.');
return;
}