chore(tests): UT for AuhToken

- Remove old tests
- Refactor Actions and Acl (WIP)

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2023-12-10 20:53:12 +01:00
parent ea72a0cc6a
commit 5c5dc57bf6
171 changed files with 1707 additions and 18197 deletions

View File

@@ -36,6 +36,7 @@ use SP\Domain\Api\Services\ApiResponse;
use SP\Domain\Api\Services\JsonRpcResponse;
use SP\Domain\Common\Services\ServiceException;
use SP\Domain\Config\Ports\ConfigDataInterface;
use SP\Domain\Core\Acl\AclInterface;
use SP\Domain\Core\Context\ContextInterface;
use SP\Domain\Core\Exceptions\SPException;
use SP\Http\JsonResponse;
@@ -64,7 +65,7 @@ abstract class ControllerBase
Application $application,
Klein $router,
ApiServiceInterface $apiService,
Acl $acl
AclInterface $acl
) {
$this->context = $application->getContext();
$this->configData = $application->getConfig()->getConfigData();