This commit is contained in:
Andrew Nicols 2016-05-20 09:07:54 +08:00
commit 658fc5f0fa

View File

@ -43,6 +43,11 @@ class webservice_xmlrpc_test extends advanced_testcase {
*/
public function setUp() {
$this->resetAfterTest();
// All tests require xmlrpc. Skip tests, if xmlrpc is not installed.
if (!function_exists('xmlrpc_decode')) {
$this->markTestSkipped('XMLRPC is not installed.');
}
}
/**