aboutsummaryrefslogtreecommitdiffstats
path: root/apps/oauth2/tests
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-18 20:54:42 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-05-18 20:58:05 +0200
commitba7b6bd97336646942649a4411c58d94b5753f2f (patch)
tree46b57530ddd8209eb4dcda3072109d0a3171f699 /apps/oauth2/tests
parentfa6ec47a5c064f85e52d06a1c88f5ac13a3b8074 (diff)
downloadnextcloud-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.php1
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);
}
/**