diff options
Diffstat (limited to 'apps/oauth2/tests/Db/AccessTokenMapperTest.php')
-rw-r--r-- | apps/oauth2/tests/Db/AccessTokenMapperTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/oauth2/tests/Db/AccessTokenMapperTest.php b/apps/oauth2/tests/Db/AccessTokenMapperTest.php index 5bb069248f3..d1d595ef003 100644 --- a/apps/oauth2/tests/Db/AccessTokenMapperTest.php +++ b/apps/oauth2/tests/Db/AccessTokenMapperTest.php @@ -7,6 +7,7 @@ namespace OCA\OAuth2\Tests\Db; use OCA\OAuth2\Db\AccessToken; use OCA\OAuth2\Db\AccessTokenMapper; +use OCA\OAuth2\Exceptions\AccessTokenNotFoundException; use OCP\AppFramework\Utility\ITimeFactory; use Test\TestCase; @@ -39,7 +40,7 @@ class AccessTokenMapperTest extends TestCase { public function testDeleteByClientId(): void { - $this->expectException(\OCA\OAuth2\Exceptions\AccessTokenNotFoundException::class); + $this->expectException(AccessTokenNotFoundException::class); $this->accessTokenMapper->deleteByClientId(1234); $token = new AccessToken(); |