public function SecureSiteScriptStoredPasswordsUnitTest::testSecureSiteScriptsStoredPasswordsUpdateNonexistent in Secure Site 7.2
Same name and namespace in other branches
- 6.2 securesite.test \SecureSiteScriptStoredPasswordsUnitTest::testSecureSiteScriptsStoredPasswordsUpdateNonexistent()
Update nonexistent user.
File
- ./
securesite.test, line 194 - Tests for Secure Site module.
Class
- SecureSiteScriptStoredPasswordsUnitTest
- Unit tests for stored_passwords.php.
Code
public function testSecureSiteScriptsStoredPasswordsUpdateNonexistent() {
$command = "{$this->stored_passwords} {$this->name_arg} {$this->pass_arg} {$this->realm_arg}";
$this
->assertTrue(exec($command) == $this->user->name . " not found in {$this->realm}.", t('Updating nonexistent user.'));
}