Commit Graph

12 Commits

Author SHA1 Message Date
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
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
96b643c6f5 ci: Run core and unitary tests separately and IoC dependency resolution fix.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-20 06:23:28 +02:00
Rubén D
5d4a46d5b4 ci: Remove bypass finals hook.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-19 13:17:32 +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
Rubén D
ebe58282f6 * [ADD] Test API module without using a real sysPass instance.
* [MOD] Improve module loading.
* [MOD] Improve backup file regex.
* [MOD] Minor code tweaks.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-10-17 16:26:39 +02:00
Rubén D
58249da565 * [MOD] Use static types.
* [MOD] CORS headers.
* [MOD] Improve Forwarded header lookup.
* [ADD] Create interface for configuration data.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-10-12 20:49:18 +02:00
Rubén D
600c398bb8 * [ADD] Install CLI command tests.
* [MOD] Install CLI command refactoring.
* [MOD] Minor code tweaks.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-09-19 21:32:34 +02:00
nuxsmin
0da5c282d6 * [MOD] Improved logging when performing upgrades
* [MOD] Log to file is turned on when debug mode is active

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-11 12:58:31 +01:00
nuxsmin
a1639fdf47 * [ADD] Added more unit tests
* [MOD] Improved file cache handling

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-11 12:09:58 +01:00
nuxsmin
330e85fc07 * [ADD] Unit testing. Work in progress
* [ADD] Integration tests for API module. Work in progress
* [MOD] Code refactoring
2018-08-27 11:06:07 +02:00