test(IT): Test Client use cases

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-08-29 18:38:59 +02:00
parent 04edbc3b9f
commit e2d67fef14
13 changed files with 574 additions and 310 deletions

View File

@@ -28,6 +28,8 @@ use SP\Domain\Client\Models\Client;
use SP\Domain\Core\Acl\AclActionsInterface;
use SP\Domain\Core\Exceptions\ValidationException;
use function SP\__u;
/**
* Class ClientForm
*
@@ -43,7 +45,7 @@ final class ClientForm extends FormBase implements FormInterface
* @param int $action
* @param int|null $id
*
* @return ClientForm|FormInterface
* @return FormInterface
* @throws ValidationException
*/
public function validateFor(int $action, ?int $id = null): FormInterface