mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
chore(tests): UT for PluginBase service
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -28,7 +28,7 @@ namespace SP\Modules\Api\Controllers\Client;
|
||||
use Klein\Klein;
|
||||
use SP\Core\Application;
|
||||
use SP\Domain\Api\Ports\ApiService;
|
||||
use SP\Domain\Client\Ports\ClientAdapterInterface;
|
||||
use SP\Domain\Client\Ports\ClientAdapter;
|
||||
use SP\Domain\Client\Ports\ClientService;
|
||||
use SP\Domain\Core\Acl\AclInterface;
|
||||
use SP\Domain\Core\Exceptions\InvalidClassException;
|
||||
@@ -41,7 +41,7 @@ use SP\Modules\Api\Controllers\Help\ClientHelp;
|
||||
abstract class ClientBase extends ControllerBase
|
||||
{
|
||||
protected ClientService $clientService;
|
||||
protected ClientAdapterInterface $clientAdapter;
|
||||
protected ClientAdapter $clientAdapter;
|
||||
|
||||
/**
|
||||
* @throws InvalidClassException
|
||||
@@ -52,7 +52,7 @@ abstract class ClientBase extends ControllerBase
|
||||
ApiService $apiService,
|
||||
AclInterface $acl,
|
||||
ClientService $clientService,
|
||||
ClientAdapterInterface $clientAdapter
|
||||
ClientAdapter $clientAdapter
|
||||
) {
|
||||
parent::__construct($application, $router, $apiService, $acl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user