You are here

protected function SecureLoginTestBase::httpsUrl in Secure Login 8

Builds a URL for submitting a mock HTTPS request to HTTP test environments.

1 call to SecureLoginTestBase::httpsUrl()
SecureLoginTest::testHttpsSecureLogin in tests/src/Functional/SecureLoginTest.php
Ensure HTTPS requests do not get redirected.

File

tests/src/Functional/SecureLoginTestBase.php, line 49

Class

SecureLoginTestBase
Base class for Secure login module tests.

Namespace

Drupal\Tests\securelogin\Functional

Code

protected function httpsUrl($url) {
  return 'core/modules/system/tests/https.php/' . $url;
}