function XmlrpcExampleTestCase::setUp

Enable module.

Parameters

...: List of modules to enable for the duration of the test. This can be either a single array or a variable number of string arguments.

Overrides DrupalWebTestCase::setUp

File

xmlrpc_example/xmlrpc_example.test, line 30

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,
  ));
}