Builds a URL for submitting a mock HTTP request to HTTPS test environments.
Parameters
$url:
A Drupal path such as 'user'.
Return value
An absolute URL.
File
- drupal/core/modules/system/lib/Drupal/system/Tests/Session/SessionHttpsTest.php, line 250
- Definition of Drupal\system\Tests\Session\SessionHttpsTest.
Class
- SessionHttpsTest
- Ensure that when running under HTTPS two session cookies are generated.
Namespace
Drupal\system\Tests\Session
Code
protected function httpUrl($url) {
global $base_url;
return $base_url . '/core/modules/system/tests/http.php/' . $url;
}