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
7a4d29d561
N°7870 ✅ Prerequisites to test portal services (instantiate a symfony service)
2024-10-15 15:11:16 +02:00
Eric Espie
75520bfaf9
N°7847 - Extensions via interface not recognized
...
N°7803 - MTP from itophub/designer failing in itop 3.2.0
2024-10-10 17:59:50 +02:00
Romain Quetiez
baf85e7a80
N°7629 Deprecate utils::GetClassesForInterface in favor of InterfaceDiscovery::FindItopClasses
...
Improve caching strategy and robustness
2024-07-16 10:13:13 +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
Eric Espie
c1ce4f9a9f
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2024-06-24 14:30:28 +02:00
Eric Espie
cceb6809e7
✅ Fix CI
2024-06-24 14:20:33 +02:00
Eric Espie
48b559472e
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
2024-06-24 14:02:04 +02:00
Eric Espie
cddc452693
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2024-06-24 13:55:29 +02:00
Eric Espie
0904a21e3f
✅ Cleanup ItopTestCase
2024-06-24 11:50:37 +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
Romain Quetiez
365d948a59
Merge branch 'support/3.1' into support/3.2
...
# Conflicts:
# tests/php-unit-tests/src/Hook/TestsRunStartHook.php
2024-05-16 19:05:03 +02:00
Romain Quetiez
a88ce075cc
Merge branch 'support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
2024-05-16 14:07:36 +02:00
Romain Quetiez
c6f3e36451
Merge branch 'support/2.7' into support/3.0
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
# tests/php-unit-tests/unitary-tests/core/iTopConfigParserTest.php
2024-05-16 10:09:11 +02:00
Romain Quetiez
53dc452d61
✅ Avoid unnecessary custom test environment compilations (base compilation of file modification time)
2024-05-16 09:53:04 +02:00
Molkobain
ad36066126
📝 Copyright year bump
2024-05-06 18:35:31 +02:00
Molkobain
cab6394cba
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2024-04-29 13:58:13 +02:00
Molkobain
32140b360f
✅ Cherry pick fixes from 59a955f4
2024-04-29 11:45:09 +02:00
jf-cbd
0434579ef5
Merge remote-tracking branch 'refs/remotes/origin/support/3.1' into support/3.2
2024-04-24 17:11:19 +02:00
jf-cbd
59a955f491
🐛 N°7313 - Bad display of single quotes in charts ( #627 )
...
* 🐛 N°7313 - Bad display of single quotes in charts
* Fix and improve ItopCustomDatamodelTestCase
2024-04-24 17:03:47 +02:00
Molkobain
e3501447ad
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2024-04-12 10:12:04 +02:00
Molkobain
2294fce5da
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2024-04-12 10:06:27 +02:00
Molkobain
ce5c05234d
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2024-04-12 10:02:19 +02:00
Molkobain
bbfa601ab1
N°7446 - Add temporary workaround to fix an issue due to DB views creation.
2024-04-12 09:59:14 +02:00
Molkobain
8a4e144725
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2024-04-11 17:00:40 +02:00
Molkobain
5f35effad9
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2024-04-11 16:58:02 +02:00
Molkobain
e1374a0e6b
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2024-04-11 16:56:25 +02:00
Molkobain
ca356859a3
N°7446 - Add comment for better understanding
2024-04-11 16:55:48 +02:00
Molkobain
5efe294895
N°7446 - Fix custom datamodel test class not creating DB tables correctly
2024-04-11 16:50:27 +02:00
jf-cbd
a3553202d9
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
...
# Conflicts:
# pages/csvimport.php
2024-04-05 14:56:38 +02:00
jf-cbd
b10d381dda
N°7374 - Security hardening
2024-04-05 14:40:56 +02:00
Molkobain
8eca200023
N°6037 - PHP 8.3: Fix calling ReflectionProperty::setValue() with a single argument is deprecated
2024-01-24 20:35:40 +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
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
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