Function accepts only integers
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
b8de3f40ee
commit
f4189699e7
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue