chore: Implement AccountAclService tests.

Use scoped namespace for simple functions.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2022-11-25 23:40:27 +01:00
parent a4c654f44c
commit 796ecbc5fb
46 changed files with 1865 additions and 2533 deletions

View File

@@ -4,7 +4,7 @@
*
* @author nuxsmin
* @link https://syspass.org
* @copyright 2012-2021, Rubén Domínguez nuxsmin@$syspass.org
* @copyright 2012-2022, Rubén Domínguez nuxsmin@$syspass.org
*
* This file is part of sysPass.
*
@@ -27,6 +27,7 @@ namespace SP\Modules\Cli\Commands\Crypt;
use Exception;
use Psr\Log\LoggerInterface;
use RuntimeException;
use SP\Domain\Account\AccountServiceInterface;
use SP\Domain\Account\Services\AccountService;
use SP\Domain\Config\ConfigInterface;
use SP\Domain\Config\ConfigServiceInterface;
@@ -71,7 +72,7 @@ final class UpdateMasterPasswordCommand extends CommandBase
public function __construct(
MasterPassServiceInterface $masterPassService,
AccountService $accountService,
AccountServiceInterface $accountService,
ConfigServiceInterface $configService,
LoggerInterface $logger,
ConfigInterface $config
@@ -301,4 +302,4 @@ final class UpdateMasterPasswordCommand extends CommandBase
return true;
}
}
}