summaryrefslogtreecommitdiff
path: root/_test/cases/inc/remote.test.php
diff options
context:
space:
mode:
Diffstat (limited to '_test/cases/inc/remote.test.php')
-rw-r--r--_test/cases/inc/remote.test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/cases/inc/remote.test.php b/_test/cases/inc/remote.test.php
index c4f0cd2c2..f5da3c06d 100644
--- a/_test/cases/inc/remote.test.php
+++ b/_test/cases/inc/remote.test.php
@@ -290,7 +290,7 @@ class remote_test extends UnitTestCase {
$conf['useacl'] = 1;
$remoteApi = new RemoteApi();
$remoteApi->getCoreMethods(new RemoteAPICoreTest());
- $this->expectException('RemoteAccessDenied');
+ $this->expectException('RemoteAccessDeniedException');
$remoteApi->call('wiki.stringTestMethod');
}
@@ -298,7 +298,7 @@ class remote_test extends UnitTestCase {
global $conf;
$conf['useacl'] = 1;
$remoteApi = new RemoteApi();
- $this->expectException('RemoteAccessDenied');
+ $this->expectException('RemoteAccessDeniedException');
$remoteApi->call('plugin.testplugin.methodString');
}