function XmlrpcExampleTestCase::setUp in Examples for Developers 6
Same name and namespace in other branches
- 7 xmlrpc_example/xmlrpc_example.test \XmlrpcExampleTestCase::setUp()
Enable module.
Overrides DrupalWebTestCase::setUp
File
- xmlrpc_example/
xmlrpc_example.test, line 25 - Test case for the xmlrpc example module.
Class
- XmlrpcExampleTestCase
- @file Test case for the xmlrpc example module.
Code
function setUp() {
parent::setUp('xmlrpc_example');
// Init common variables.
global $base_url;
$this->xmlrpc_url = url($base_url . '/xmlrpc.php', array(
'external' => TRUE,
));
}