aboutsummaryrefslogtreecommitdiffstats
path: root/apps/oauth2/tests/Db/ClientMapperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/oauth2/tests/Db/ClientMapperTest.php')
-rw-r--r--apps/oauth2/tests/Db/ClientMapperTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/oauth2/tests/Db/ClientMapperTest.php b/apps/oauth2/tests/Db/ClientMapperTest.php
index 8c00c2e0a21..7c11470d096 100644
--- a/apps/oauth2/tests/Db/ClientMapperTest.php
+++ b/apps/oauth2/tests/Db/ClientMapperTest.php
@@ -7,6 +7,7 @@ namespace OCA\OAuth2\Tests\Db;
use OCA\OAuth2\Db\Client;
use OCA\OAuth2\Db\ClientMapper;
+use OCA\OAuth2\Exceptions\ClientNotFoundException;
use Test\TestCase;
/**
@@ -40,7 +41,7 @@ class ClientMapperTest extends TestCase {
}
public function testGetByIdentifierNotExisting(): void {
- $this->expectException(\OCA\OAuth2\Exceptions\ClientNotFoundException::class);
+ $this->expectException(ClientNotFoundException::class);
$this->clientMapper->getByIdentifier('MyTotallyNotExistingClient');
}
@@ -57,7 +58,7 @@ class ClientMapperTest extends TestCase {
}
public function testGetByUidNotExisting(): void {
- $this->expectException(\OCA\OAuth2\Exceptions\ClientNotFoundException::class);
+ $this->expectException(ClientNotFoundException::class);
$this->clientMapper->getByUid(1234);
}