summaryrefslogtreecommitdiffstats
path: root/tests/lib/app.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-11-05 15:45:58 +0100
committerRobin Appelman <icewind@owncloud.com>2014-11-05 15:45:58 +0100
commit1eefc21329e1256989fc50a5fe7597989324e47f (patch)
tree9cfcf96f01686c51c3d2337384cff7c6a09bfea4 /tests/lib/app.php
parentf0d6a47a67b87c544d44ecacf2ba2e9a36659053 (diff)
downloadnextcloud-server-1eefc21329e1256989fc50a5fe7597989324e47f.tar.gz
nextcloud-server-1eefc21329e1256989fc50a5fe7597989324e47f.zip
Remove confusingly names \OC\User\Manager::delete and fix the automatic cache cleanup instead
Diffstat (limited to 'tests/lib/app.php')
-rw-r--r--tests/lib/app.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/lib/app.php b/tests/lib/app.php
index e538ebec8a0..5bce3b8c3e6 100644
--- a/tests/lib/app.php
+++ b/tests/lib/app.php
@@ -360,10 +360,7 @@ class Test_App extends PHPUnit_Framework_TestCase {
$user1->delete();
$user2->delete();
$user3->delete();
- // clear user cache...
- $userManager->delete(self::TEST_USER1);
- $userManager->delete(self::TEST_USER2);
- $userManager->delete(self::TEST_USER3);
+
$group1->delete();
$group2->delete();
}
@@ -399,8 +396,6 @@ class Test_App extends PHPUnit_Framework_TestCase {
\OC_User::setUserId(null);
$user1->delete();
- // clear user cache...
- $userManager->delete(self::TEST_USER1);
}
/**