You are here

public function SecureSiteFunctionForcedUnitTest::testSecureSiteFunctionForcedAlways in Secure Site 7.2

Same name and namespace in other branches
  1. 6.2 securesite.test \SecureSiteFunctionForcedUnitTest::testSecureSiteFunctionForcedAlways()

Check output with authentication always forced.

File

./securesite.test, line 588
Tests for Secure Site module.

Class

SecureSiteFunctionForcedUnitTest
Unit tests for _securesite_forced().

Code

public function testSecureSiteFunctionForcedAlways() {
  variable_set('securesite_enabled', SECURESITE_ALWAYS);
  $this
    ->assertTrue(_securesite_forced(), t('Checking output with authentication always forced.'));
}