Eric Espie
1b7529fcb9
N°6384 - Flag LinkedSet to specify that it has CheckToWrite constraint (more specific parameter name)
2023-06-09 10:21:47 +02:00
Eric Espie
191742c2a9
N°6384 - Flag LinkedSet to specify that it has CheckToWrite constraint (more specific parameter name)
2023-06-09 10:17:22 +02:00
Molkobain
ae65856797
N°1646 - Fix unit tests to reflect new enum sort
2023-06-09 08:34:09 +02:00
Eric Espie
99e84e86cd
N°6384 - fix typo
2023-06-08 17:19:45 +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
Eric Espie
e288af4ddb
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# tests/setup_params/default-params.xml
2023-06-08 14:33:54 +02:00
odain
ea49c0a87c
enable authent-cas in ci
2023-06-07 21:44:17 +02:00
odain
6cc971849b
ci: enhance AddProfile
2023-06-07 21:44:00 +02:00
Molkobain
4d5d149079
N°1646 - Add unit tests
2023-06-07 19:53:12 +02:00
Eric Espie
f886c78f24
✅ Merge remote-tracking branch 'origin/support/3.0' into develop -> fix unit tests
2023-06-07 17:49:52 +02:00
Eric Espie
62ed5adbc5
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# application/loginwebpage.class.inc.php
# composer.json
# lib/composer/installed.json
# lib/guzzlehttp/psr7/.github/workflows/ci.yml
# lib/guzzlehttp/psr7/.github/workflows/integration.yml
# lib/guzzlehttp/psr7/.github/workflows/static.yml
# lib/guzzlehttp/psr7/CHANGELOG.md
# lib/guzzlehttp/psr7/composer.json
# lib/guzzlehttp/psr7/src/MessageTrait.php
# tests/php-unit-tests/ItopDataTestCase.php
2023-06-07 17:45:50 +02:00
Eric Espie
e76ada641f
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/loginbasic.class.inc.php
# application/loginexternal.class.inc.php
# application/loginform.class.inc.php
# application/loginurl.class.inc.php
# application/loginwebpage.class.inc.php
# composer.lock
# datamodels/2.x/authent-cas/src/CASLoginExtension.php
# lib/composer/autoload_real.php
# lib/composer/installed.php
# synchro/synchro_exec.php
# synchro/synchro_import.php
# tests/php-unit-tests/unitary-tests/application/utilsTest.php
2023-06-07 17:21:09 +02:00
Eric Espie
fff46d99fc
N°6358 - Login REST API - renamed test
2023-06-07 15:31:51 +02:00
odain
3a891f707c
ci: enhance AddProfile test method to work with any User (not only UserLocal)
2023-06-07 15:06:28 +02:00
odain
8b6ea43ebe
N°6358 - Login REST API - fix cas + add tests
2023-06-07 15:05:32 +02:00
Timothee
a45177410e
N°6350 - Fixing phpunit test
2023-06-06 16:47:06 +02:00
Eric Espie
519751faa1
N°6348 - ✅ Add unit test
2023-06-05 14:50:37 +02:00
Eric Espie
cb7cbe9297
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# pages/UI.php
# tests/php-unit-tests/unitary-tests/application/utilsTest.php
2023-06-01 16:59:59 +02:00
Eric Espie
17d22219d2
N°6350 - ✅ Fix unit tests
2023-06-01 16:30:09 +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
Pierre Goiffon
7c594db4b9
N°1150 AtributeCustomFields : FromJSONToValue is now delegated to the handler
...
Method was always returning null before
2023-05-12 10:58:43 +02:00
Pierre Goiffon
cca27674d0
✅ ItopDataTestCase : extract UR params to a method to allow overrides
2023-05-12 10:58:43 +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
denis.flaven@combodo.com
7fe565c4fb
Merge branch 'feature/6133-add-extra-files-to-backup-and-restore' into develop
2023-05-11 14:41:02 +02:00
odain
0b5bf7bf6f
N°6299 - DBUpdate regression in 3.1 when setting a field with same value in the concerned object - fix temporarly ci until fix comes
2023-05-09 14:51:26 +02:00
odain
b4f517b03b
Merge branch 'support/3.0' into develop
2023-05-05 15:57:04 +02:00
odain
da5a825c7e
N°6171 - Password Expiration: can expire mode has no effect on user who have never changed their password
2023-05-05 11:37:44 +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
1884596ecd
N°6274 Fix log.class.inc.php crashing cause cannot load ItopTestCase class
...
Now the constant name is defined in approot
2023-05-04 17:34:14 +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
Molkobain
3ce810ee99
N°5655 - Router: Improve robustness
...
* Change visibility from public to protected of methods for which it was not necessary
* Change visibility from static to non-static of methods that could be used as such for easier testability
* Cache available routes for better performances
* Finish Router::GetRoutes() so we can use the available routes data to display them to the developers somewhere (ideally in the toolkit)
* Improve unit tests
2023-05-02 23:56:25 +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
fa038ded3d
N°6254 ItopDataTestCase::CreateUserRequest : fix new argument default value
...
Was creating error Too few arguments passed
2023-04-26 16:42:27 +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
Molkobain
f026e6f4b8
N°6208 - Router: Move to Service folder
2023-04-20 09:41:12 +02:00
Molkobain
e3252da5a9
N°6208 - Router: Add mechanism to generate complete route URL from its code
2023-04-20 09:41:12 +02:00
Molkobain
6fbe66d2ec
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# tests/php-unit-tests/unitary-tests/webservices/RestTest.php
2023-04-18 22:50:31 +02:00
Molkobain
778118cfb4
N°6204 - REST API: Add unit test for callback parameter
2023-04-18 22:34:11 +02:00
Molkobain
096ed9a63a
N°6204 - Improve REST API unit test readability
2023-04-18 22:14:39 +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