From b78f3a57d1d05fb5f81ec8361139b64a3e54d7b0 Mon Sep 17 00:00:00 2001 From: Gary Kim Date: Tue, 29 Jun 2021 19:20:33 -0400 Subject: Migrate HintException to OCP Signed-off-by: Gary Kim --- apps/federation/tests/Controller/SettingsControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/federation/tests/Controller/SettingsControllerTest.php') diff --git a/apps/federation/tests/Controller/SettingsControllerTest.php b/apps/federation/tests/Controller/SettingsControllerTest.php index 1f3617de389..856dcaa533f 100644 --- a/apps/federation/tests/Controller/SettingsControllerTest.php +++ b/apps/federation/tests/Controller/SettingsControllerTest.php @@ -88,7 +88,7 @@ class SettingsControllerTest extends TestCase { * @param bool $isOwnCloud */ public function testAddServerFail($isTrustedServer, $isOwnCloud) { - $this->expectException(\OC\HintException::class); + $this->expectException(\OCP\HintException::class); $this->trustedServers ->expects($this->any()) @@ -136,7 +136,7 @@ class SettingsControllerTest extends TestCase { * @param bool $isOwnCloud */ public function testCheckServerFail($isTrustedServer, $isOwnCloud) { - $this->expectException(\OC\HintException::class); + $this->expectException(\OCP\HintException::class); $this->trustedServers ->expects($this->any()) -- cgit v1.2.3