You are here

public function SecureSiteScriptDigestMD5UnitTest::testSecureSiteScriptDigestMD5Challenge in Secure Site 7.2

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

Check digest challenge string.

File

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

Class

SecureSiteScriptDigestMD5UnitTest
Unit tests for digest_md5.php.

Code

public function testSecureSiteScriptDigestMD5Challenge() {
  $this
    ->assertTrue(isset($this->challenge['realm']) && $this->challenge['realm'] == $this->realm && isset($this->challenge['nonce']), t('Checking digest challenge string.'));
}