chore(tests): UT for PluginBase service

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-04-19 20:58:50 +02:00
parent 21f392bb17
commit 03e4a57562
32 changed files with 360 additions and 320 deletions

View File

@@ -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);