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
d951d3b872
💚 Fix typo in extended class name
2023-08-11 09:05:30 +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
f002aa04cd
N°6097 - Tests: Enable PHP unit tests on a custom DataModel
2023-08-10 15:45:39 +02:00
Molkobain
b86d70623e
N°6097 - Tests: Temporarily add test case for the new ItopCustomDatamodelTestCase class
2023-08-10 15:45:39 +02:00
Pierre Goiffon
5212e15cc4
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-08-10 14:41:05 +02:00
Pierre Goiffon
f04fc546b5
N°6643 Fix TypeError in \CMDBSource::LogDeadLock
2023-08-10 14:34:09 +02:00
Pierre Goiffon
5ffa41bc16
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-08-03 11:09:14 +02:00
Pierre Goiffon
d2eef06276
✅ AttributeURLTest : remove useless separateProcess annotations
2023-08-03 11:08:47 +02:00
Pierre Goiffon
52049b7837
N°6414 Disable Field validation for untouched attcodes
2023-07-03 11:30:04 +02:00
Eric Espie
befbe2dfa9
N°6408 - ✅ CRUD fix tests
2023-06-27 11:52:23 +02:00
Eric Espie
aa75456e6e
N°6271 - ✅ Fix drop-down list not refreshed when adding an external key with a friendlyname built on an external key
2023-06-27 08:41:20 +02:00
Eric Espie
db6e4137b1
N°6271 - Fix drop-down list not refreshed when adding an external key with a friendlyname built on an external key
2023-06-26 18:00:04 +02:00
Eric Espie
6fe41796d9
N°5909 - ✅ Fix iApplicationExtension not called when attachment is added
2023-06-21 15:15:59 +02:00
Eric Espie
9b9ba3c440
N°6281 - Rest API core/create key value is no more between quote
2023-06-20 16:58:16 +02:00
Eric Espie
5578147002
N°5906 - ✅ CRUD Event - fire event EVENT_DB_LINKS_CHANGED when an n-n link is created/updated/deleted
2023-06-14 09:32:19 +02:00
Eric Espie
e574fe3dc5
N°5906 - ✅ CRUD Event - fire event EVENT_DB_LINKS_CHANGED when an n-n link is created/updated/deleted
2023-06-13 17:12:35 +02:00
Denis
fed149dc66
N°918 - Translate placeholders in notifications ( #506 )
...
- Localization of date & time formats
- Use of DataLocalizer (if present)
- All placeholders can be used in the uploaded HTML template as well as in the notification "message"
2023-06-13 09:51:32 +02:00
Molkobain
4d6236cbea
N°1345 - Restrict unit test iTop community only as it is based on the standard DM (thanks @piRGoif)
2023-06-09 17:55:54 +02:00
Pierre Goiffon
2d866b8f47
N°6320 Fix GetSelectFilterTest::testGetSelectFilter crashing when authent-token module installed
2023-06-09 15:47:19 +02:00
Molkobain
74fec312d8
N°1345 - Add unit test
2023-06-09 13:01:59 +02:00
Molkobain
ae65856797
N°1646 - Fix unit tests to reflect new enum sort
2023-06-09 08:34:09 +02:00
Eric Espie
7ebf5a6dd4
N°6384 - Flag LinkedSet (Indirect) when CheckToWrite must be requested to Hosted Object
2023-06-08 17:07:01 +02:00
Molkobain
4d5d149079
N°1646 - Add unit tests
2023-06-07 19:53:12 +02:00
Eric Espie
5f359b2b61
N°6151 - Allow to select classes on union outside the already selected classes
2023-05-31 14:40:13 +02:00
Eric Espie
c3bb995407
N°6324 - CRUD Event for one time treatment before creation and before update
2023-05-30 11:29:24 +02:00
Eric Espie
f426626b9a
N°6299 - ✅ DBUpdate regression in 3.1 - Fix unit tests
2023-05-12 09:09:39 +02:00
Eric Espie
5dc80f31f5
N°6299 - DBUpdate regression in 3.1 when setting a field with same value in the concerned object
2023-05-11 16:16:49 +02:00
Pierre Goiffon
d10e2ac25a
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-05-05 10:17:10 +02:00
Pierre Goiffon
b9230ad402
N°6274 DeprecatedCallsLogTest : replace expectException deprecated calls
...
Message was : Support for using expectException() with PHPUnit\Framework\Error\Warning is deprecated and will be removed in PHPUnit 10. Use expectWarning() instead.
2023-05-05 10:16:56 +02:00
Pierre Goiffon
436e6b80db
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# tests/php-unit-tests/ItopTestCase.php
2023-05-05 09:45:02 +02:00
Pierre Goiffon
959ac7e3be
N°6274 DeprecatedCallsLogTest : fix expected exception mismatch in PHP 8.0+
...
Undefined offset notice was changed to a warning in PHP 8.0... Also message was changed :(
2023-05-05 09:13:03 +02:00
Pierre Goiffon
584cfa8cbf
N°6274 Fix PHP Notices not caught in ItopDataTestCase PHPUnit
...
This was caused by the set_error_handler() done in DeprecatedCallsLog during startup
Now we are :
* not registering the handler if a PHPUnit test is running (based on a constant set in ItopTestCase::setUp)
* on registration only do it for the required notices
2023-05-04 17:08:47 +02:00
Benjamin Dalsass
34f3b92e2e
N°5916 - Generic message on Link Uniqueness rules
...
Add unit test
2023-05-04 15:24:14 +02:00
Pierre Goiffon
dd5486eaa9
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-04-26 17:13:14 +02:00
Pierre Goiffon
3c15186685
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-04-26 17:12:08 +02:00
Pierre Goiffon
e7ea1b831c
N°6254 ItopDataTestCase::CreateUserRequest : now pass fields values as array
...
More versatile way of doing things !
2023-04-26 16:22:26 +02:00
Eric Espie
d8b21e11ed
N°6182 - Fix crash with UNION OQL queries when classes / aliases are different
2023-04-26 15:09:12 +02:00
Pierre Goiffon
45f792d5ae
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-04-12 10:22:52 +02:00
Pierre Goiffon
4c626d0782
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/log.class.inc.php
2023-04-12 10:22:34 +02:00
Pierre Goiffon
1114ed9562
N°6099 DeadLockLog : improve documentation and use existing constants ( #441 )
2023-04-12 10:21:34 +02:00
Eric Espie
aafd05afd1
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-04-05 18:00:46 +02:00
Eric Espie
8ffddeff01
N°6085 - UNION is not supported in UserRightsProfile::GetSelectFilter
2023-04-05 17:42:26 +02:00
Eric Espie
21d37fb237
N°6085 - UNION is not supported in UserRightsProfile::GetSelectFilter
2023-04-05 17:07:23 +02:00
Molkobain
fca4006811
N°6085 - UNION is not supported in UserRightsProfile::GetSelectFilter
2023-04-05 15:58:31 +02:00
Eric Espie
1c2cf116da
N°6085 - ✅ UNION is not supported in UserRightsProfile::GetSelectFilter - Add unit tests
2023-04-05 10:37:03 +02:00
Pierre Goiffon
cd8dd59641
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-03-21 09:24:32 +01:00
Pierre Goiffon
307edd3f7a
✅ Fix AttributeDefinitionTest parse error in PHP 7.2
2023-03-21 09:03:54 +01:00