Molkobain
a8c689c6c0
N°6436 - Add unit test to ensure that we don't lose an API during merge between branches
2023-08-18 09:55:45 +02:00
Romain Quetiez
0f8e87e001
Tests: allow execution of RouterTest alone, fix tool to execute each test class separately
2023-08-18 08:44:54 +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
Pierre Goiffon
a24d50d7e3
✅ DBBackupDataTest::testPrepareFilesToBackup : fix cleanup not done on failing test
2023-08-11 15:19:48 +02:00
Molkobain
e5716e66bb
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-08-11 11:06:21 +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
0d0ef86550
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-08-10 14:41:50 +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
1b48b4a1e1
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-08-03 11:09:29 +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
Molkobain
5b4079ab7e
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-08-02 15:35:31 +02:00
Molkobain
f7f1b5f399
Merge remote-tracking branch 'origin/support/3.1.0' into support/3.1
2023-08-02 15:27:17 +02:00
Molkobain
85f66f5e0c
N°6618 - Router: Add protection against invalid routes cache
2023-08-02 11:44:20 +02:00
Molkobain
a5c980113b
N°6618 - Router: Fix available routes cache being re-generated at each call
2023-08-02 11:44:20 +02:00
Pierre Goiffon
c52195e6cd
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-08-01 14:39:28 +02:00
Pierre Goiffon
97700dbf15
N°6562 Re-enable failing tests
...
Conditional disabling was made in ea8e7c5
2023-08-01 14:27:57 +02:00
Pierre Goiffon
781c15d1ee
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-07-27 17:03:47 +02:00
Pierre Goiffon
26048150d3
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/ItopDataTestCase.php
2023-07-27 16:44:02 +02:00
Pierre Goiffon
e5b6e2eb8c
N°4354 N°6587 ✅ Add test to cover $oUser->Get('profile_list') VS security.hide_administrators config param
2023-07-27 16:42:56 +02:00
Eric Espie
f60d03ddd3
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-07-19 09:28:23 +02:00
Eric Espie
9c37d5c23e
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# application/applicationextension.inc.php
# application/cmdbabstract.class.inc.php
# core/dbobject.class.php
# core/kpi.class.inc.php
# core/metamodel.class.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# tests/php-unit-tests/unitary-tests/setup/DBBackupTest.php
2023-07-19 09:26:46 +02:00
Eric Espie
6432678de9
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/utils.inc.php
# bootstrap.inc.php
# composer.json
# core/MyHelpers.class.inc.php
# core/cmdbsource.class.inc.php
# core/config.class.inc.php
# core/dbobject.class.php
# core/kpi.class.inc.php
# core/metamodel.class.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
2023-07-18 14:36:58 +02:00
Pierre Goiffon
3d8345b92c
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-07-18 14:17:58 +02:00
Pierre Goiffon
952194b385
N°6570 Fix BulkChangeExtKeyTest errors
...
- transaction started but never stopped
- invalid value label typo
- urlencode on search url
2023-07-18 14:12:29 +02:00
Pierre Goiffon
bfb452dd69
N°6570 Rename BulkChangeExtKeyTest file so it is run in Jenkins
...
Was *Test.inc.php instead of default *Test.php
2023-07-18 14:12:29 +02:00
Molkobain
6caddb65e9
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-07-14 21:11:13 +02:00
Molkobain
125715af3f
N°6562 - Temporarily disable XML conversion unit tests failing in PHP 8.2.8
2023-07-14 21:09:37 +02:00
Molkobain
8df0d66fb6
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-07-13 10:18:03 +02:00
Molkobain
ea8e7c5131
N°6562 - Temporarily disable XML conversion unit tests failing in PHP 8.1.21
2023-07-13 10:11:56 +02:00
Pierre Goiffon
fd336ffd92
N°6558 ✅ Test for iTopDesignFormat::$aVersions consistency
2023-07-12 08:36:20 +02:00
Stephen Abello
9afc22bd8f
N°6123 - Add tests and comments
2023-07-07 09:29:15 +02:00
bdalsass
9d38b4d1d6
N°6043 - Booking: Add prerequisites in iTop core - CRUD extensibility ( #520 )
2023-07-04 16:22:53 +02:00
Pierre Goiffon
6cc2d49cd5
N°6414 Move existing AbstractSimpleField::Validate impl to custom validators
...
- LinkedSetField
- SelectObjectField
- MultipleChoicesField (warning this hierarchy contains non multiple value fields like SelectField !)
Also change AbstractValidator::Validate signature : now we are returning an array of error messages, so that we can return multiple ones
2023-07-03 11:30:04 +02:00
Pierre Goiffon
d085f15b6d
N°6414 Separate SubFormField and Scalar fields
...
This will help to set methods as final, as SubFormField is often the sole one to have a real custom impl
2023-07-03 11:30:04 +02:00
Pierre Goiffon
6606af71ff
N°6414 Validator refactoring
...
New AbstractValidator class, with new method Validate
All existing validators are now children of AbstractRegexpValidator
Handle validators JS counterparts in renderers : only regexp validators are implemented client side
2023-07-03 11:30:04 +02:00
Pierre Goiffon
52049b7837
N°6414 Disable Field validation for untouched attcodes
2023-07-03 11:30:04 +02:00
bdalsass
b46d4db8ff
N°6476 - Revert datamodel / compiler changes from N°5563 ( #515 )
2023-06-29 15:11:30 +02:00
Eric Espie
8373a03d82
N°6408 - ✅ CRUD fix tests
2023-06-27 12:11:36 +02:00
Eric Espie
befbe2dfa9
N°6408 - ✅ CRUD fix tests
2023-06-27 11:52:23 +02:00
Eric Espie
86ca7fcb7a
N°6408 - CRUD : rework on DBUpdate reentrancy
2023-06-27 11:37:10 +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
c3469e43bc
N°6408 - Add logs, changed modification test of current object and prevent calling OnDBUpdate() when object is not modified
2023-06-23 17:02:31 +02:00