Commit Graph

24 Commits

Author SHA1 Message Date
Rubén D
7cad0e4a07 test(IT): Test account file use cases (WIP)
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-08-20 15:12:51 +02:00
Rubén D
d3c6448295 test(IT): Setup integration tests
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-07-27 11:10:50 +02:00
Rubén D
0e43458188 refactor(php): Improve session handling
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-05-13 07:50:16 +02:00
Rubén D
84f41f2c68 chore(tests): UT for UpgradeDatabase
Remove unneeded upgrades

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-05-02 08:23:15 +02:00
Rubén D
3ad267c6ca chore(tests): Change directory name and strict types
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-05-01 10:25:57 +02:00
Rubén D
ea72a0cc6a chore(tests): Change tests namespace
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-12-09 11:45:33 +01:00
Rubén D
05af371010 chore: Move interfaces into Domain
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-26 13:09:47 +01:00
Rubén D
2d56422d9c chore(tests): UT for file backup service
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-13 18:23:43 +01:00
Rubén D
419a674fba chore(tests): Add more unitary tests
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-05-21 13:02:19 +02:00
Rubén D
c907bb9895 ci(php): Bump to PHP 8.1 version
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-05-20 22:46:42 +02:00
Rubén D
29f4d10a85 chore: Use array access instead of object
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-05-16 15:39:28 +02:00
Rubén D
cb1e5f9e93 chore: Create PublicLinkService tests.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-05-16 14:55:34 +02: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
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
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
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
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
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
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
Rubén D
1c8fb0ea1a refactor: [WIP] Use hexagonal architecture and implement interfaces for services and repositories.
Controllers are being splited into commands to better dependency management.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-06 08:17:34 +02:00
Rubén D
e9d5232b14 ci: Skip final classes bypass on non-mocked tests.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-19 13:04:23 +02:00
Rubén D
f0e5be2c52 chore: Build mock test for FileBackupService class.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-19 08:25:34 +02:00
Rubén D
9b3fea6983 chore: Rework tests for Installer, no more infra dependencies.
This allows to test without any infrastructure dependency. Final classes are sorted out by using the `BypassFinals` library.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-16 11:27:32 +02:00