Skip to content
Snippets Groups Projects
Commit 248e79c4 authored by Björn Schießle's avatar Björn Schießle
Browse files

Merge pull request #9654 from owncloud/enctest-fileproxydisabledfix

Reenable proxies if a test failed to restore it
parents 7a43c623 b2c06354
No related branches found
No related tags found
No related merge requests found
......@@ -166,6 +166,8 @@ class TestCleanupListener implements PHPUnit_Framework_TestListener {
private function cleanProxies() {
$proxies = OC_FileProxy::getProxies();
OC_FileProxy::clearProxies();
// reenable in case some test failed to reenable them
OC_FileProxy::$enabled = true;
return count($proxies) > 0;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment