Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-18 21:54:42 +0300
committerLukas Reschke <lukas@statuscode.ch>2017-05-18 21:58:05 +0300
commitba7b6bd97336646942649a4411c58d94b5753f2f (patch)
tree46b57530ddd8209eb4dcda3072109d0a3171f699 /apps/oauth2/tests
parentfa6ec47a5c064f85e52d06a1c88f5ac13a3b8074 (diff)
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);
}
/**