You are here

function SecurePagesTestCase::_toHTTPS in Secure Pages 6.2

Same name and namespace in other branches
  1. 6 securepages.test \SecurePagesTestCase::_toHTTPS()

Helper function, because url() in D6 lacks 'https' => TRUE

10 calls to SecurePagesTestCase::_toHTTPS()
SecurePagesTestCase::loginHTTPS in ./securepages.test
Logs in a user using HTTPS.
SecurePagesTestCase::_testAnonymous in ./securepages.test
Tests for anonymous browsing with securepages.
SecurePagesTestCase::_testCachedResponse in ./securepages.test
SecurePagesTestCase::_testFormAlter in ./securepages.test
Tests the ability to alter form actions.
SecurePagesTestCase::_testLocale in ./securepages.test
Tests correct operation with locale module.

... See full list

File

./securepages.test, line 376
Provides SimpleTests for Secure Pages module.

Class

SecurePagesTestCase
@file Provides SimpleTests for Secure Pages module.

Code

function _toHTTPS($url) {
  return str_replace('http://', 'https://', $url);
}