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

@@ -28,6 +28,7 @@ use Klein\Klein;
use SP\Core\Acl\Acl;
use SP\Core\Application;
use SP\Domain\Api\Ports\ApiServiceInterface;
use SP\Domain\Core\Acl\AclInterface;
use SP\Domain\Core\Exceptions\InvalidClassException;
use SP\Domain\User\Ports\UserGroupServiceInterface;
use SP\Modules\Api\Controllers\ControllerBase;
@@ -44,10 +45,10 @@ abstract class UserGroupBase extends ControllerBase
* @throws InvalidClassException
*/
public function __construct(
Application $application,
Klein $router,
Application $application,
Klein $router,
ApiServiceInterface $apiService,
Acl $acl,
AclInterface $acl,
UserGroupServiceInterface $groupService
) {
parent::__construct($application, $router, $apiService, $acl);