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 22:59:22 +0300
committerLukas Reschke <lukas@statuscode.ch>2017-05-18 22:59:22 +0300
commitf4189699e7348615eeb0e528bc5395d818d301ea (patch)
tree32b99eda10bd6a210adaee075a733728a7abb8f2 /apps/oauth2/tests
parentb8de3f40ee8822cdd7e9d6fbf3f9983cc214d2e1 (diff)
Function accepts only integers
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/oauth2/tests')
-rw-r--r--apps/oauth2/tests/Db/AccessTokenMapperTest.php2
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());