protected function SessionHttpsTest::httpsUrl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Session/SessionHttpsTest.php \Drupal\system\Tests\Session\SessionHttpsTest::httpsUrl()
Builds a URL for submitting a mock HTTPS request to HTTP test environments.
Parameters
$url: A Drupal path such as 'user/login'.
Return value
URL prepared for the https.php mock front controller.
2 calls to SessionHttpsTest::httpsUrl()
- SessionHttpsTest::loginHttps in core/
modules/ system/ src/ Tests/ Session/ SessionHttpsTest.php - Log in a user via HTTPS.
- SessionHttpsTest::testHttpsSession in core/
modules/ system/ src/ Tests/ Session/ SessionHttpsTest.php
File
- core/
modules/ system/ src/ Tests/ Session/ SessionHttpsTest.php, line 238 - Contains \Drupal\system\Tests\Session\SessionHttpsTest.
Class
- SessionHttpsTest
- Ensure that when running under HTTPS two session cookies are generated.
Namespace
Drupal\system\Tests\SessionCode
protected function httpsUrl($url) {
return 'core/modules/system/tests/https.php/' . $url;
}