From ba7b6bd97336646942649a4411c58d94b5753f2f Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 18 May 2017 20:54:42 +0200 Subject: [PATCH] Delete token after usage in test Signed-off-by: Lukas Reschke --- apps/oauth2/tests/Db/AccessTokenMapperTest.php | 1 + 1 file changed, 1 insertion(+) 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); } /** -- 2.39.5