Molkobain
c8d2cff0ff
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-12-04 23:19:22 +01:00
Molkobain
974c155855
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-12-04 23:16:35 +01:00
Pierre Goiffon
99d69493d1
N°7023 - Update tests so that we are now checking negative ext. keys
2023-12-04 22:36:26 +01:00
Eric Espie
ed12495ec5
N°6228 - ✅ Fix Unit tests due to logs added in CRUD
2023-11-28 15:16:48 +01:00
Stephen Abello
d79bbca8ce
N°6874 - Make unit test more robust
2023-11-28 11:27:19 +01:00
Stephen Abello
fdf48b8338
N°6874 - Add unit test
2023-11-27 12:15:07 +01:00
Pierre Goiffon
9266458cba
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-11-23 15:55:33 +01:00
Pierre Goiffon
6f1de11c59
N°6976 Fix DeprecatedCallsLog error handler never set ( #576 )
...
Caused by N°6274 (disabling error handler when running phpunit)
There is now a test testing the handler is really fixed when not in the phpunit context
Also a TRACE log is made on setting the handler
2023-11-23 15:54:10 +01:00
Eric Espie
8e0d6d1f00
N°6228 - Refactor after review
2023-11-23 11:14:37 +01:00
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
odain
c5b43f3157
Merge branch 'support/2.7' into support/3.0
2023-11-22 11:10:06 +01:00
odain
fc22d91232
N°6949 - Run subset of itop core unit tests after the setup when validating a module github code
2023-11-22 10:14:58 +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