diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-09-07 15:22:01 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-09-07 15:22:01 +0200 |
commit | 3829460ab8cbb6de65c53583a20fd04cbe7927dd (patch) | |
tree | 4dc24845a5eb31b17510a621e14c15b51f16bf7b /tests/lib/cache | |
parent | 785aa751bb5f9a4bcdd677b96207550482e17d3c (diff) | |
download | nextcloud-server-3829460ab8cbb6de65c53583a20fd04cbe7927dd.tar.gz nextcloud-server-3829460ab8cbb6de65c53583a20fd04cbe7927dd.zip |
adding space between) and {
Diffstat (limited to 'tests/lib/cache')
-rw-r--r-- | tests/lib/cache/apc.php | 4 | ||||
-rw-r--r-- | tests/lib/cache/file.php | 6 | ||||
-rw-r--r-- | tests/lib/cache/xcache.php | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/tests/lib/cache/apc.php b/tests/lib/cache/apc.php index ab8eb188664..34ea968cd54 100644 --- a/tests/lib/cache/apc.php +++ b/tests/lib/cache/apc.php @@ -25,11 +25,11 @@ class Test_Cache_APC extends Test_Cache { $this->skipUnless(function_exists('apc_store')); } - public function setUp(){ + public function setUp() { $this->instance=new OC_Cache_APC(); } - function testTTL(){ + function testTTL() { // ttl doesn't work correctly in the same request // see https://bugs.php.net/bug.php?id=58084 } diff --git a/tests/lib/cache/file.php b/tests/lib/cache/file.php index 28778efb68c..00be005d08d 100644 --- a/tests/lib/cache/file.php +++ b/tests/lib/cache/file.php @@ -27,13 +27,13 @@ class Test_Cache_File extends Test_Cache { //$this->skipUnless(OC_User::isLoggedIn()); } - public function setUp(){ + public function setUp() { //clear all proxies and hooks so we can do clean testing OC_FileProxy::clearProxies(); OC_Hook::clear('OC_Filesystem'); //enable only the encryption hook if needed - if(OC_App::isEnabled('files_encryption')){ + if(OC_App::isEnabled('files_encryption')) { OC_FileProxy::register(new OC_FileProxy_Encryption()); } @@ -57,7 +57,7 @@ class Test_Cache_File extends Test_Cache { $this->instance=new OC_Cache_File(); } - public function tearDown(){ + public function tearDown() { OC_User::setUserId($this->user); } } diff --git a/tests/lib/cache/xcache.php b/tests/lib/cache/xcache.php index cc2077076ce..85cc2d8b3c6 100644 --- a/tests/lib/cache/xcache.php +++ b/tests/lib/cache/xcache.php @@ -25,11 +25,11 @@ class Test_Cache_XCache extends Test_Cache { $this->skipUnless(function_exists('xcache_get')); } - public function setUp(){ + public function setUp() { $this->instance=new OC_Cache_XCache(); } - function testTTL(){ + function testTTL() { // ttl doesn't work correctly in the same request } } |