public testResetAllPasswordsNoPassingParams ( ) : void | ||
Résultat | void |
public function testResetAllPasswordsNoPassingParams()
{
$this->Shell->expects($this->once())->method('error')->with('Please enter a password.');
$this->Shell->runCommand(['resetAllPasswords']);
}