summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorDominik Eckelmann <deckelmann@gmail.com>2012-01-08 19:31:10 +0100
committerDominik Eckelmann <deckelmann@gmail.com>2012-01-08 19:31:10 +0100
commite61127e4af913a252fbe5c8f427501268501895c (patch)
tree0bf1145dd629a5a48604c7c219d6d7f23fbd9272 /_test
parent6e8160489a60f00eb756682b574be72693c7878b (diff)
downloadrpg-e61127e4af913a252fbe5c8f427501268501895c.tar.gz
rpg-e61127e4af913a252fbe5c8f427501268501895c.tar.bz2
refactored RemoteAccessDenied to RemoteAccessDeniedException
Diffstat (limited to '_test')
-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');
}