removed FileProxy from test
This commit is contained in:
parent
751487ded7
commit
9b7f02f267
1 changed files with 6 additions and 5 deletions
11
tests/lib/cache/file.php
vendored
11
tests/lib/cache/file.php
vendored
|
@ -31,12 +31,13 @@ class Test_Cache_File extends Test_Cache {
|
|||
//clear all proxies and hooks so we can do clean testing
|
||||
OC_FileProxy::clearProxies();
|
||||
OC_Hook::clear('OC_Filesystem');
|
||||
|
||||
|
||||
//disabled atm
|
||||
//enable only the encryption hook if needed
|
||||
if(OC_App::isEnabled('files_encryption')) {
|
||||
OC_FileProxy::register(new OC_FileProxy_Encryption());
|
||||
}
|
||||
|
||||
//if(OC_App::isEnabled('files_encryption')) {
|
||||
// OC_FileProxy::register(new OC_FileProxy_Encryption());
|
||||
//}
|
||||
|
||||
//set up temporary storage
|
||||
\OC\Files\Filesystem::clearMounts();
|
||||
\OC\Files\Filesystem::mount('\OC\Files\Storage\Temporary',array(),'/');
|
||||
|
|
Loading…
Reference in a new issue