diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-05-23 10:16:18 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-05-23 10:16:18 +0200 |
commit | 86880acee9a5a4887884f6095ecfe90e32e1e5d3 (patch) | |
tree | 0a3159495846edd841f35e477d517cf5c8442f8d /tests/lib/user | |
parent | 60274d17294dc4fb2c9de151f478790d0177d6ca (diff) | |
download | nextcloud-server-86880acee9a5a4887884f6095ecfe90e32e1e5d3.tar.gz nextcloud-server-86880acee9a5a4887884f6095ecfe90e32e1e5d3.zip |
clean up here is superflous, will already be removed by user session
Diffstat (limited to 'tests/lib/user')
-rw-r--r-- | tests/lib/user/session.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/lib/user/session.php b/tests/lib/user/session.php index 5c58d82f5ba..3f9d43e2952 100644 --- a/tests/lib/user/session.php +++ b/tests/lib/user/session.php @@ -243,8 +243,6 @@ class Session extends \PHPUnit_Framework_TestCase { array($manager, $session)); $granted = $userSession->loginWithCookie('foo', $token); - //clean up token - \OC_Preferences::deleteKey('foo', 'login_token', $token); $this->assertSame($granted, true); } @@ -287,8 +285,6 @@ class Session extends \PHPUnit_Framework_TestCase { $userSession = new \OC\User\Session($manager, $session); $granted = $userSession->loginWithCookie('foo', 'badToken'); - //clean up token - \OC_Preferences::deleteKey('foo', 'login_token', $token); $this->assertSame($granted, false); } @@ -330,8 +326,6 @@ class Session extends \PHPUnit_Framework_TestCase { $userSession = new \OC\User\Session($manager, $session); $granted = $userSession->loginWithCookie('foo', $token); - //clean up token - \OC_Preferences::deleteKey('foo', 'login_token', $token); $this->assertSame($granted, false); } |