protected function DrupalRemoteTestCase::setUrl in SimpleTest 7.2
Set the remote URL base.
Parameters
$url: Base of the remote URL, for example: http://example.com
1 call to DrupalRemoteTestCase::setUrl()
- DrupalRemoteTestCase::resetUrl in ./
drupal_web_test_case.php - Reset the remote URL base to the value in 'simpletest_remote_url'.
File
- ./
drupal_web_test_case.php, line 3675 - Provides DrupalTestCase, DrupalUnitTestCase, and DrupalWebTestCase classes.
Class
- DrupalRemoteTestCase
- Base class used for writing atomic remote tests.
Code
protected function setUrl($url) {
$prefix = self::$REMOTE_PREFIX;
$this
->tearDown();
$this->remoteUrl = $url;
$this
->setUp();
self::$REMOTE_PREFIX = $prefix;
}