diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 21:59:22 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 21:59:22 +0200 |
commit | f4189699e7348615eeb0e528bc5395d818d301ea (patch) | |
tree | 32b99eda10bd6a210adaee075a733728a7abb8f2 /apps/oauth2/tests/Db | |
parent | b8de3f40ee8822cdd7e9d6fbf3f9983cc214d2e1 (diff) | |
download | nextcloud-server-f4189699e7348615eeb0e528bc5395d818d301ea.tar.gz nextcloud-server-f4189699e7348615eeb0e528bc5395d818d301ea.zip |
Function accepts only integers
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/oauth2/tests/Db')
-rw-r--r-- | apps/oauth2/tests/Db/AccessTokenMapperTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |