1 session.test | protected SessionHttpsTestCase::httpsUrl($url) |
Builds a URL for submitting a mock HTTPS request to HTTP test environments.
Parameters
$url: A Backdrop path such as 'user/login'.
Return value
An absolute URL.:
File
- core/
modules/ simpletest/ tests/ session.test, line 547 - Provides SimpleTests for core session handling functionality.
Class
- SessionHttpsTestCase
- Ensure that when running under HTTPS two session cookies are generated.
Code
protected function httpsUrl($url) {
global $base_url;
return $base_url . '/core/modules/simpletest/tests/https.php?q=' . $url;
}