public function XmlrpcExampleTestCase::setUp in Examples for Developers 7
Same name and namespace in other branches
- 6 xmlrpc_example/xmlrpc_example.test \XmlrpcExampleTestCase::setUp()
Enable module.
Overrides DrupalWebTestCase::setUp
File
- xmlrpc_example/
xmlrpc_example.test, line 30 - Test case for the XML-RPC example module.
Class
- XmlrpcExampleTestCase
- Functional tests for the XMLRPC Example module.
Code
public function setUp() {
parent::setUp('xmlrpc_example');
// Init common variables.
global $base_url;
$this->xmlRpcUrl = url($GLOBALS['base_url'] . '/xmlrpc.php', array(
'external' => TRUE,
));
}