chore(tests): UT for Config service & repository

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-01-14 10:42:45 +01:00
parent 28dc47fe58
commit 739f40ba5d
61 changed files with 1304 additions and 690 deletions

View File

@@ -66,12 +66,12 @@ final class ClientAdapter extends Adapter implements ClientAdapterInterface
public function transform(Client $data): array
{
return [
'id' => $data->getId(),
'name' => $data->getName(),
'description' => $data->getDescription(),
'isGlobal' => $data->isGlobal,
'id' => $data->getId(),
'name' => $data->getName(),
'description' => $data->getDescription(),
'isGlobal' => $data->getIsGlobal(),
'customFields' => null,
'links' => [
'links' => [
[
'rel' => 'self',
'uri' => Link::getDeepLink(