Pierre Goiffon
ea845dc6eb
N°6228 - CheckToWrite() propagation to target objects based on with_php_constraint property
2023-11-23 11:14:37 +01:00
odain-cbd
9a59bc7890
N°6901 - Enable tracking of iTop active sessions (monitoring) ( #568 )
...
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
Co-authored-by: Romain Quetiez <romain.quetiez@combodo.com >
2023-11-22 17:46:00 +01:00
odain
8484bee269
N°6949 - Run subset of itop core unit tests after the setup when validating a module github code
2023-11-22 11:16:03 +01:00
Pierre Goiffon
a2181b3478
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-11-21 09:25:21 +01:00
Pierre Goiffon
154a20b757
💡 Fix ItopCustomDatamodelTestCase since phpdoc
...
See https://docs.phpdoc.org/guide/references/phpdoc/tags/since.html#since
2023-11-21 09:21:30 +01:00
Pierre Goiffon
79c24dfc96
N°6975 Fix ItopCustomDatamodelTestCase removing symlinks flag ( #574 )
2023-11-21 09:20:11 +01:00
Pierre Goiffon
be93b41363
✅ N°6458 Fix failing tests due to ItopDataTestCase modifications
2023-11-16 15:43:11 +01:00
Pierre Goiffon
d33d82bcd8
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-11-16 15:35:52 +01:00
Pierre Goiffon
b9d960e89e
✅ N°6458 Fix ItopDataTestCase::$bIsUsingSilo visibility
2023-11-16 15:35:04 +01:00
Pierre Goiffon
8540ec644a
✅ N°6458 Improve ItopDataTestCase tests speed
...
What was measured :
- 1'54 with previous code (always doing a reset in tearDown)
- 1'44 without any ResetMetaModelQueyCacheGetObject call (but 3 tests are failing)
- 1'44 with new optin mechanism + don't call Logoff if no current user logged
2023-11-16 15:23:18 +01:00
Pierre Goiffon
5b19593ede
📝 README tests : add prerequisites
2023-11-16 14:38:15 +01:00
Pierre Goiffon
57b70e48bd
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-11-16 12:02:20 +01:00
Pierre Goiffon
0915081f50
✅ ItopDataTestCase fix cached SQL queries with silo
2023-11-16 11:57:29 +01:00
Pierre Goiffon
7798df0d53
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php
2023-11-16 11:29:31 +01:00
Pierre Goiffon
a23d629e31
✅ ItopDataTestCase fix using non existing EventService (added in 3.1.0)
2023-11-16 11:23:07 +01:00
Pierre Goiffon
47ccd7589f
✅ Fix TriggerTest relying on hardcoded admin user id
2023-11-16 11:16:59 +01:00
Pierre Goiffon
7521fc3006
✅ N°6458 Tests : remove processIsolation
...
Was caused by cached User instances in UserRights + same login for each created User objects instances
2023-11-16 10:56:47 +01:00
Pierre Goiffon
e3e8b25cfc
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# core/dbobject.class.php
# datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
# lib/composer/autoload_files.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
# pages/UI.php
# tests/php-unit-tests/unitary-tests/core/DBObjectTest.php
2023-11-15 15:31:56 +01:00
Pierre Goiffon
c955fe00b7
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/utils.inc.php
# core/coreexception.class.inc.php
# core/userrights.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
# tests/php-unit-tests/README.md
# tests/php-unit-tests/unitary-tests/core/DBObjectTest.php
2023-11-15 15:03:04 +01:00
Pierre Goiffon
5a43448644
N°6458 Security hardening
2023-11-15 11:14:07 +01:00
Romain Quetiez
3b987f97eb
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-11-10 16:15:08 +01:00
Romain Quetiez
d9bdcfeae3
✅ N°6658 - Fix regression: do not reset current user's profile cache
2023-11-10 15:57:08 +01:00
Molkobain
2d8ecd465b
N°6903 - Fix crash when emptying file attribute (eg. picture of a contact)
2023-11-09 18:17:35 +01:00
odain-cbd
eaa80c5396
N°6824 - Notification with current_contact placeholder trigger hundred of email sent ( #562 )
...
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
Co-authored-by: Romain Quetiez <romain.quetiez@combodo.com >
2023-10-31 16:17:57 +01:00
Romain Quetiez
5264a1f10d
✅ New test related to the build of SQL queries
2023-10-27 16:01:57 +02:00
Romain Quetiez
f0199a4cf2
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-27 15:50:17 +02:00
Romain Quetiez
f8877ef3e7
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-27 15:49:58 +02:00
Romain Quetiez
00b1156526
✅ Optimize tests execution time (force cache usage and set the modification date in the past instead of waiting 1s)
2023-10-27 15:45:28 +02:00
Romain Quetiez
39d2ba8d1b
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-27 15:43:11 +02:00
Romain Quetiez
322adcb180
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-27 14:27:00 +02:00
Romain Quetiez
77e7685c90
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-27 14:24:31 +02:00
Romain Quetiez
3c14e5e032
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-27 14:24:16 +02:00
Romain Quetiez
f58ec7e38e
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-27 14:22:20 +02:00
Romain Quetiez
73fd0b06b2
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/integration-tests/DictionariesConsistencyTest.php
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
# tests/php-unit-tests/unitary-tests/core/CMDBSource/TransactionsTest.php
# tests/php-unit-tests/unitary-tests/sources/Application/TwigBase/Twig/TwigTest.php
2023-10-27 14:12:06 +02:00
Romain Quetiez
8fa9336568
✅ Fix regression introduced with the optimization done in 15148f7, and seen only in the context of the CI
2023-10-27 11:21:56 +02:00
Romain Quetiez
15148f7d1d
✅ Fix regression introduced with the optimization done in 798cd10, and seen only if APC is enabled
2023-10-27 10:43:13 +02:00
Romain Quetiez
7e8589ba95
✅ Fix regression introduced with the optimization done in d641504. Cope with the fact that sometimes the admin account already exists, sometimes not.
2023-10-27 09:21:36 +02:00
Romain Quetiez
fba668207f
✅ Optimize tests execution time (test rework and defensive cleanup)
2023-10-26 21:35:52 +02:00
Romain Quetiez
798cd10d6b
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:23:47 +02:00
Romain Quetiez
442721bcb5
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:22:54 +02:00
Romain Quetiez
1a9049d277
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:16:24 +02:00
Romain Quetiez
c0931af91a
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean, set file modification date instead of waiting for 1 second)
2023-10-26 21:15:57 +02:00
Romain Quetiez
29e9a06dc1
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:10:47 +02:00
Romain Quetiez
d6415042ae
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:10:07 +02:00
Romain Quetiez
90006667fe
✅ Optimize tests execution time (copy fixture files only when necessary)
2023-10-26 20:58:26 +02:00
Romain Quetiez
fd351df08b
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-10-26 20:53:24 +02:00
Romain Quetiez
7419749ba6
✅ Prerequisites for boosting tests
2023-10-26 20:51:28 +02:00
Romain Quetiez
73bed04555
✅ Twig tests not executed
2023-10-26 10:47:11 +02:00
Romain Quetiez
8893cdac1d
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 10:44:37 +02:00
Romain Quetiez
7f245a15be
✅ Optimize tests execution time (suppress meaningless test and merge two test in one, while preserving test coverage)
2023-10-25 23:01:05 +02:00