public function SecureSiteScriptStoredPasswordsUnitTest::testSecureSiteScriptsStoredPasswordsRealm in Secure Site 7.2
Same name and namespace in other branches
- 6.2 securesite.test \SecureSiteScriptStoredPasswordsUnitTest::testSecureSiteScriptsStoredPasswordsRealm()
Remove all users from realm.
File
- ./
securesite.test, line 169 - Tests for Secure Site module.
Class
- SecureSiteScriptStoredPasswordsUnitTest
- Unit tests for stored_passwords.php.
Code
public function testSecureSiteScriptsStoredPasswordsRealm() {
$command = "{$this->stored_passwords} {$this->realm_arg} op=delete";
$this
->assertTrue(exec($command) == "Removed users from {$this->realm}.", t('Removing all users from realm.'));
}