summaryrefslogtreecommitdiffstats
path: root/tests/lib/helperstorage.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/helperstorage.php')
-rw-r--r--tests/lib/helperstorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/helperstorage.php b/tests/lib/helperstorage.php
index 9f3bd8824f7..8b5f41fc94c 100644
--- a/tests/lib/helperstorage.php
+++ b/tests/lib/helperstorage.php
@@ -45,7 +45,7 @@ class Test_Helper_Storage extends \Test\TestCase {
\OC_User::setUserId('');
\OC_User::deleteUser($this->user);
- \OC_Preferences::deleteUser($this->user);
+ \OC::$server->getConfig()->deleteAllUserValues($this->user);
parent::tearDown();
}