Romain Quetiez
d79dacf8a3
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-08-18 14:25:54 +02:00
Romain Quetiez
03b484c349
Tests: fix test not working on MariaDB (unexpected coma tolerated by MySQL)
2023-08-18 12:13:11 +02:00
Molkobain
70081ecf33
N°6436 - Add unit test for API introduced in 3.1 (\iFieldRendererMappingsExtension)
2023-08-18 10:31:05 +02:00
Molkobain
575ba1cd7b
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# core/metamodel.class.php
2023-08-18 10:24:50 +02:00
Molkobain
d130959692
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/metamodel.class.php
2023-08-18 10:14:51 +02:00
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
Molkobain
e107be56e4
N°6097 - Tests: Fix missing hook entry in PHPUnit XML file that led to compiled environment being re-build for each test case
2023-08-18 09:51:15 +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
ccceb870e3
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
2023-08-10 15:53:05 +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
1ad28312ec
N°6097 - Tests: Introduce autoloader for "utility" classes and move them to a sub-folder for better organization as folder was still messy
...
Note that unittestautoload.php is now useless. We just keep for now until everything is migrated (projects / branches / modules)
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
Molkobain
fe3467309d
N°6097 - Tests: Refactor base test classes for better extensibility
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
90413ae4fe
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-08-09 14:54:36 +02:00
Pierre Goiffon
c4c400d852
N°6638 💡 More explanations on CompiledDictionariesConsistencyTest::testImportCsvMessageStillOk
2023-08-09 14:54:19 +02:00
Pierre Goiffon
95a2fdec99
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-08-08 15:48:19 +02:00
Pierre Goiffon
d7495af207
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-08-08 15:42:39 +02:00
Pierre Goiffon
13ad98b9b3
✅ Add other integration tests in the beforeSetup group
...
All of those tests can be ran without a running iTop instance, and are blocking
2023-08-08 15:34:27 +02:00
Pierre Goiffon
4be54fdd65
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-08-08 15:33:36 +02:00
Pierre Goiffon
6d13397ba1
✅ Add other integration tests in the beforeSetup group
...
All of those tests can be ran without a running iTop instance, and are blocking
2023-08-08 15:33:09 +02:00
Pierre Goiffon
48e7e0309a
N°6638 ✅ Fix DictionariesConsistencyTest::testImportCsvMessageStillOk not run on Jenkins
...
Was contained in a class with a beforeSetup group annotation, whereas it tries to read files in env-production (!)
Plus the dataprovider was using APPROOT const + utils class, which aren't available by default :(
=> Fixed by moving in a dedicated class (CompiledDictionariesConsistencyTest) and removing the dataprovider
2023-08-08 15:30:01 +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
a84077782d
N°4354 N°6587 ✅ Remove duplicated ItopDataTestCase::CreateContactlessUser method
...
Regression introduced by 26048150
2023-07-27 16:48:49 +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
Pierre Goiffon
19a83bc944
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-07-24 12:00:25 +02:00
Pierre Goiffon
2e049aa244
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-07-24 11:59:57 +02:00
Pierre Goiffon
a57b6471c9
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-07-24 11:59:40 +02:00
Pierre Goiffon
bc7c1b4744
✅ N°6590 Fix DictionariesConsistencyTest for PL dict files
2023-07-24 11:14:37 +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