diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 20:54:42 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 20:58:05 +0200 |
commit | ba7b6bd97336646942649a4411c58d94b5753f2f (patch) | |
tree | 46b57530ddd8209eb4dcda3072109d0a3171f699 /apps/oauth2/tests | |
parent | fa6ec47a5c064f85e52d06a1c88f5ac13a3b8074 (diff) | |
download | nextcloud-server-ba7b6bd97336646942649a4411c58d94b5753f2f.tar.gz nextcloud-server-ba7b6bd97336646942649a4411c58d94b5753f2f.zip |
Delete token after usage in test
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/oauth2/tests')
-rw-r--r-- | apps/oauth2/tests/Db/AccessTokenMapperTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/oauth2/tests/Db/AccessTokenMapperTest.php b/apps/oauth2/tests/Db/AccessTokenMapperTest.php index 58b36b1c240..7a7c5fd7b39 100644 --- a/apps/oauth2/tests/Db/AccessTokenMapperTest.php +++ b/apps/oauth2/tests/Db/AccessTokenMapperTest.php @@ -49,6 +49,7 @@ class AccessTokenMapperTest extends TestCase { $result = $this->accessTokenMapper->getByCode('MyAwesomeToken'); $this->assertEquals($token, $result); + $this->accessTokenMapper->delete($token); } /** |