function CDNUnitTestCase::configureHTTPS in CDN 7.2
Configure HTTPS-related settings.
Parameters
$supported: Boolean that indicates whether HTTPS is supported by the current CDN or not.
$mapping: The CDN mapping to use when the CDN supports HTTPS and the current request is happening over HTTPS.
1 call to CDNUnitTestCase::configureHTTPS()
File
- tests/
cdn.test, line 121 - Test CDN.
Class
- CDNUnitTestCase
- @file Test CDN.
Code
function configureHTTPS($supported, $mapping = '') {
$this
->variableSet(CDN_HTTPS_SUPPORT_VARIABLE, $supported);
$this
->variableSet(CDN_BASIC_MAPPING_HTTPS_VARIABLE, $mapping);
}