aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/cache/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/cache/file.php')
-rw-r--r--tests/lib/cache/file.php6
1 files changed, 3 insertions, 3 deletions
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);
}
}