v-dumas
ed360edb83
Fix PHP CS
2025-11-17 15:04:19 +01:00
Vincent Dumas
53de040934
N°8534 - Prevent Admin, SuperUser from loose of rights ( #774 )
...
* N°8534 - Prevent Admin & SuperUser from suicide
Prevent creation/modification of Administrator, SuperUser, REST User, combined with a Profile denying access to the backoffice
2025-11-17 14:17:18 +01:00
odain
b0a792afab
N°8796 - Add PHP code style validation in iTop and extensions - format whole code base
2025-11-07 20:39:38 +01:00
odain
bdc8fdd02f
N°4720 - fix Deprecation warnings with ormLinkSet->UpdateFromCompleteList API
2025-11-03 08:37:35 +01:00
XGUI
902e2259a9
N°8129 - Remove duplicated test method
2025-02-04 10:33:35 +01:00
XGUI
b87fb65ac4
Merge branch 'support/3.2' into develop
...
# Conflicts:
# core/attributedef.class.inc.php
# datamodels/2.x/version.xml
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
# tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.php
2025-02-04 10:14:41 +01:00
XGUI
803ebfbe33
N°8129 - Dont crash if date/time default value has a bad format
2025-01-30 14:14:31 +01:00
XGUI
9e3f99a150
N°8129 - Dont crash if date/time default value has a bad format
2025-01-29 15:55:20 +01:00
jf-cbd
ac8004561b
Merge remote-tracking branch 'origin/support/3.2' into develop
2025-01-28 10:53:15 +01:00
Eric Espie
52097f5e12
N°8131 - ✅ Issue on DBlinkchange event when object is deleted
2025-01-28 10:33:11 +01:00
Eric Espie
79a46581ef
Merge remote-tracking branch 'origin/support/3.2' into develop
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php
2025-01-07 13:31:49 +01:00
v-dumas
a91de9fb36
✅ Add helpers for stopwatches manipulation
2025-01-03 17:04:41 +01:00
v-dumas
71b3a415a6
N°7206 - Add tests
2025-01-03 16:17:51 +01:00
Romain Quetiez
b97c7433c8
🎨 N°7633 Cosmetics on unit tests
2025-01-03 11:57:51 +01:00
XavierGR
6cb1cf7b7e
N°7726 - Fatal error if a newsroom is sent without any message
2024-11-29 16:26:32 +01:00
Eric Espie
58c68bade9
Merge remote-tracking branch 'origin/support/3.2' into develop
2024-10-29 11:18:45 +01:00
Anne-Catherine
0688405f86
N°7348 - Enable to param maximum depth of impact analysis in function Ticket::UpdateImpactedItems ( #633 )
2024-10-25 15:29:09 +02:00
odain
4e28856015
ci: enhance DB cleanup in tearDown
2024-10-25 12:02:21 +02:00
Romain Quetiez
674dfebb0d
N°7803 ✅ Skip test if itop-hub-connector is not installed (new helper to handle this in any other tests)
2024-10-23 15:46:44 +02:00
Romain Quetiez
9b651c2451
N°7803 ✅ Test iTop Hub move to production (compilation phase)
2024-10-18 17:23:46 +02:00
Romain Quetiez
c3547f29d0
✅ Cosmetics on the test framework
2024-07-04 09:38:35 +02:00
Eric Espie
984f676d6e
✅ GivenObjectInDB() and additional improvements in the tests suite to address false positive and slow tests
...
Rewrite tests on impact analysis to make them readable in the first place, then simplifiy the tests to focus on risk reduction, then complete with some edge case
Rewrite tests on impact graph build when the current user has restricted access to some parts of the graph
2024-06-28 15:24:13 +02:00
Romain Quetiez
1de179f683
N°4459 Make sure that every test will pass even if the CI provides an invalid configuration file. Also allow encryption mecanism to be fully controlled by the tests
2024-05-18 17:49:07 +02:00
Molkobain
ad36066126
📝 Copyright year bump
2024-05-06 18:35:31 +02:00
Eric Espie
8e0d6d1f00
N°6228 - Refactor after review
2023-11-23 11:14:37 +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
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
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
Molkobain
819baa3951
Merge remote-tracking branch 'origin/support/3.1.0' into support/3.1
2023-10-06 17:47:52 +02:00
Pierre Goiffon
6d6f55acf7
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php
2023-08-31 15:40:56 +02:00
Pierre Goiffon
6ebcd44bb1
💡 N°6658 Add more comments and since tags
2023-08-31 15:34:44 +02:00
Romain Quetiez
ebd0136773
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
2023-08-17 18:36:34 +02:00
Romain Quetiez
65bb76b9e3
N°6658 - Boost PHPUnit tests execution
2023-08-17 17:27:55 +02:00
Molkobain
f238593966
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
2023-08-11 09:19:49 +02:00
Molkobain
ccceb870e3
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
2023-08-10 15:53:05 +02:00
Molkobain
ed6df77cbb
N°6097 - Tests: Optimize performances by creating custom env. only once and re-using it across test classes
2023-08-10 15:45:39 +02:00
Molkobain
1ad28312ec
N°6097 - Tests: Introduce autoloader for "utility" classes and move them to a sub-folder for better organization as folder was still messy
...
Note that unittestautoload.php is now useless. We just keep for now until everything is migrated (projects / branches / modules)
2023-08-10 15:45:39 +02:00