CakeDC\Users\Test\TestCase\Shell\UsersShellTest::testResetAllPasswordsNoPassingParams PHP Method

testResetAllPasswordsNoPassingParams() public method

Reset all passwords
    public function testResetAllPasswordsNoPassingParams()
    {
        $this->Shell->expects($this->once())->method('error')->with('Please enter a password.');
        $this->Shell->runCommand(['resetAllPasswords']);
    }