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

@@ -34,6 +34,7 @@ use SP\Core\Events\EventMessage;
use SP\Domain\Api\Ports\ApiServiceInterface;
use SP\Domain\Api\Services\ApiResponse;
use SP\Domain\Core\Acl\AclActionsInterface;
use SP\Domain\Core\Acl\AclInterface;
use SP\Domain\Core\Exceptions\InvalidClassException;
use SP\Domain\Export\Ports\XmlExportServiceInterface;
use SP\Modules\Api\Controllers\ControllerBase;
@@ -50,10 +51,10 @@ final class ExportController extends ControllerBase
* @throws InvalidClassException
*/
public function __construct(
Application $application,
Klein $router,
Application $application,
Klein $router,
ApiServiceInterface $apiService,
Acl $acl,
AclInterface $acl,
XmlExportServiceInterface $xmlExportService
) {
parent::__construct($application, $router, $apiService, $acl);