public function SecureSiteFunctionFakeRealmUnitTest::testSecureSiteFunctionFakeRealmMSIE in Secure Site 7.2
Same name and namespace in other branches
- 6.2 securesite.test \SecureSiteFunctionFakeRealmUnitTest::testSecureSiteFunctionFakeRealmMSIE()
Check realm with Internet Explorer.
File
- ./
securesite.test, line 732 - Tests for Secure Site module.
Class
- SecureSiteFunctionFakeRealmUnitTest
- Unit tests for _securesite_fake_realm().
Code
public function testSecureSiteFunctionFakeRealmMSIE() {
$_SERVER['HTTP_USER_AGENT'] = 'msie';
$this
->assertTrue($this->fake_realm != _securesite_fake_realm(), t('Checking realm with Internet Explorer.'));
}