Rubén D
ab6061bf34
chore: Create AccountToTagService tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-13 12:21:29 +02:00
Rubén D
b17cc55bfb
chore: Create AccountToFavoriteService tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-13 11:03:42 +02:00
Rubén D
a8939dfddf
chore: Improve search regex
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-13 18:58:13 +01:00
Rubén D
a597d8ae62
chore: Create AccountService tests and rework models.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-10 12:07:38 +01:00
Rubén D
3cde9c1e1e
ci: Don't stop on failure.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 21:34:30 +01:00
Rubén D
c4b9b6568e
fix: Make data provider methods public.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 21:33:12 +01:00
Rubén D
0141530ca8
fix: Make data provider methods public.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 21:30:30 +01:00
Rubén D
7679ee436d
fix: Avoid to use unpack
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 21:27:54 +01:00
Rubén D
60f21cfddf
chore: Create tests for AccountHistoryService
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 21:19:48 +01:00
Rubén D
57c1569430
chore: Create tests for AccountFilterUser
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 16:43:27 +01:00
Rubén D
1e1ec16f73
chore: Remove BypassFinals and Pseudo PDO.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 14:33:17 +01:00
Rubén D
fb954809e6
chore: Run only unitary tests by using @group annotation
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 10:42:46 +01:00
Rubén D
78f51f3259
chore: Add tests for CryptPKI
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 00:06:43 +01:00
Rubén D
973bb8ebfd
chore: Add tests for AccountCacheService
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-03 22:57:10 +01:00
Rubén D
c588734fb8
chore: Add tests for AccountSearchDataBuilder
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-03 22:32:11 +01:00
Rubén D
7f986f17ef
chore: Add tests for AccountSearchService
...
AccountSearchService has been split into multiple classes for better testeability.
Accounts' DTOs have been moved to domain
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-03 21:01:32 +01:00
Rubén D
3a2137f738
chore: Add test for null operator.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-03 19:58:08 +01:00
Rubén D
ab49a901ff
chore: Create AccountPresetService tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-28 20:42:48 +01:00
Rubén D
42a77cc5ec
fix: Use generators and fix ItemSearch builders
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 22:20:13 +01:00
Rubén D
5531af39f4
chore: Create tests for AccountFileService
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 19:55:03 +01:00
Rubén D
bd8e599014
chore: Create tests for AccountFileService
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 19:51:18 +01:00
Rubén D
78ad705aee
fix: Wrong arguments for DTO
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 18:27:04 +01:00
Rubén D
930b1f7139
chore: Create AccountCryptService tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 16:01:51 +01:00
Rubén D
41b171e89d
chore: Create AccountSearchTokenizer tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 00:46:43 +01:00
Rubén D
f44f4a18e5
chore: Adapt to hexagonal architecture pattern.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-26 19:59:02 +01:00
Rubén D
5952a3f48a
chore: Adapt to hexagonal architecture pattern.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-26 19:45:53 +01:00
Rubén D
07437ffda0
chore: Create AccountAdapter tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-26 13:04:38 +01:00
Rubén D
f9d16dd76f
chore: Move repository interface
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-26 08:39:44 +01:00
Rubén D
796ecbc5fb
chore: Implement AccountAclService tests.
...
Use scoped namespace for simple functions.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-25 23:40:27 +01:00
Rubén D
a4c654f44c
chore: Implement PublicLinkRepository tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 19:58:16 +01:00
Rubén D
caa5571b20
chore: Implement AccountToUserRepository tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 17:43:49 +01:00
Rubén D
930c519ef1
chore: Implement AccountToUserGroupRepository tests.
...
A new Query class is needed to perform custom queries.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 17:31:13 +01:00
Rubén D
ba9a0e6872
chore: Rename property
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 11:48:05 +01:00
Rubén D
de9d500d85
chore: Create AccountToTagRepository tests
...
A RepositoryInterface is added to expose transactionAware method to the service.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 11:46:11 +01:00
Rubén D
120adb09ee
chore: Create AccountToFavoriteRepository tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-19 17:26:30 +01:00
Rubén D
8379a8cbd6
chore: AccountFile repository test
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-19 17:05:34 +01:00
Rubén D
666bd06566
chore: Fix tests and PHPStan warnings
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-19 15:37:01 +01:00
Rubén D
809186dbe0
ci: Check only PHP 8
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-19 07:15:14 +01:00
Rubén D
c4e225c9fc
chore: Mar test skipped
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-13 09:23:29 +01:00
Rubén D
cd4369e74e
Merge branch 'master' into feat/code_refactoring
...
# Conflicts:
# app/modules/web/themes/material-blue/views/account/account.inc
# app/modules/web/themes/material-blue/views/account/search-rows.inc
# app/modules/web/themes/material-blue/views/config/ldap.inc
# composer.json
# composer.lock
# lib/SP/Bootstrap.php
# lib/SP/Core/Language.php
# lib/SP/Html/Html.php
# lib/SP/Infrastructure/Database/DatabaseUtil.php
# lib/SP/Providers/Auth/Ldap/LdapActions.php
# lib/SP/Services/Account/AccountSearchItem.php
# lib/SP/Services/Install/Installer.php
2022-11-13 09:18:55 +01:00
Rubén D
2ccce01acb
chore: Fix unitary tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-06 17:34:32 +01:00
Rubén D
6a71fe3372
chore: Remove unused methods
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-06 16:38:05 +01:00
Rubén D
8ef229f8ed
chore: AccountHistoryRepository tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-06 16:29:33 +01:00
Rubén D
430302ed33
chore: Move tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-06 12:15:52 +01:00
Rubén D
9e246c0413
chore: Complete AccountRepository tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-06 12:02:41 +01:00
Rubén D
4db6bcfcf6
chore: Complete AccountRepository tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-06 11:56:41 +01:00
Rubén D
fde6e60bd1
chore: Fix tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-05 19:34:56 +01:00
Rubén D
8a2bbc8283
chore: Use Aura.SqlQuery for building queries.
...
Refactor AccountRepository and AccountSearchRepository to use Aura.SqlQuery. This will allow to mock queries when testing.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-05 09:58:57 +01:00
Rubén D
e75694e258
chore: Update PHPDoc blocks
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-10-31 09:28:25 +01:00
Rubén D
de06ff5b0f
chore: Move account data models and unit test for account repository.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-07-02 18:01:56 +02:00