odain
0b46ab9e48
ci: add phpunit defaultProfiles annotation + tag some tests with addition annotations to ease exclusion/inclusion mechanism
2022-08-24 11:02:11 +02:00
Pierre Goiffon
f4a027b474
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.json
# core/cmdbchangeop.class.inc.php
# core/cmdbobject.class.inc.php
# css/light-grey.scss
# setup/setuputils.class.inc.php
# test/ItopTestCase.php
# test/core/ConfigTest.php
# test/core/LogAPITest.php
# test/core/UserRightsTest.php
# test/core/dictApcuTest.php
# test/core/dictTest.php
# test/core/iTopConfigParserTest.php
# test/core/ormLinkSetTest.php
# test/phpunit.xml.dist
# test/postbuild_integration.xml.dist
# test/setup/SetupUtilsTest.php
# test/status/StatusIncTest.php
# webservices/cron.php
2022-04-22 15:26:18 +02:00
Pierre Goiffon
ec143c43db
N°3091 Update PHPUnit to 8.5 : fix setUp and teardDown methods signatures
...
"Return type declaration must be compatible with parent"
See https://phpunit.de/announcements/phpunit-8.html "Return Type of Template Methods"
2022-04-21 12:02:35 +02:00
Pierre Goiffon
c6211cde09
Revert REST API init objects array ( #231 )
...
We didn't anticipated this was causing the REST API response to be changed for all consumers :
- before PR `"objects":null`
- after `"objects":[]`
We don't want that :/
We will instead fix collector-base (object of another PR, see #231 )
This reverts commit 7243da3576 .
This reverts commit 0940741568 .
2022-01-17 18:38:33 +01:00
Pierre Goiffon
7243da3576
💚 Fix RestTest
...
When no objects to return, since #231 we are now getting `[]` instead of `null`
2022-01-17 08:24:10 +01:00
Pierre Goiffon
9aa399894c
N°4624 Add processIsolation PHPUnit option to all tests implementing ItopDataTestCase
2022-01-10 16:41:26 +01:00
odain
c413ac989e
fix ci: add anotations to be able to exclude tests
2021-06-16 18:25:10 +02:00
odain
d7c7ef8332
ci/testing work: categorize tests via phpunit @group tags
2021-02-04 15:07:44 +01:00
odain
c6816318a9
N°3455: test when no json_data is passed
2020-12-14 23:19:54 +01:00
odain
7f0e8abc09
N°3455: clean code + test after review
2020-12-14 18:22:15 +01:00
odain
37351d6b3e
N°3464: fix ci
2020-12-07 16:23:17 +01:00
odain
57a085eec1
N°3464: move fix in itop-fence + fix/enhance rest api test
2020-12-07 15:56:35 +01:00
odain
0019595923
N°3464: fix ci
2020-12-07 00:44:39 +01:00
odain
cf1b613923
N°3464 REST comment field not working anymore
2020-12-06 23:54:27 +01:00
odain
ba01ac715f
N°3455 - Passing json_data as file to REST API
2020-11-25 18:32:54 +01:00