From f4189699e7348615eeb0e528bc5395d818d301ea Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 18 May 2017 21:59:22 +0200 Subject: Function accepts only integers Signed-off-by: Lukas Reschke --- apps/oauth2/tests/Db/AccessTokenMapperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/oauth2/tests/Db') diff --git a/apps/oauth2/tests/Db/AccessTokenMapperTest.php b/apps/oauth2/tests/Db/AccessTokenMapperTest.php index 7a7c5fd7b39..ebc6b55a382 100644 --- a/apps/oauth2/tests/Db/AccessTokenMapperTest.php +++ b/apps/oauth2/tests/Db/AccessTokenMapperTest.php @@ -56,7 +56,7 @@ class AccessTokenMapperTest extends TestCase { * @expectedException \OCA\OAuth2\Exceptions\AccessTokenNotFoundException */ public function testDeleteByClientId() { - $this->accessTokenMapper->deleteByClientId('TestId'); + $this->accessTokenMapper->deleteByClientId(1234); $token = new AccessToken(); $token->setClientId(1234); $token->setTokenId((string)time()); -- cgit v1.2.3