Pierre Goiffon
b55ba2ac7f
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/cmdbsource.class.inc.php
# core/log.class.inc.php
# test/setup/iTopDesignFormat/iTopDesignFormatTest.php
2022-01-12 09:56:16 +01:00
Pierre Goiffon
693a861e7d
♻️ Refactor DBBackuptest
...
Split each test in a dedicated method
2022-01-12 09:42:57 +01:00
Pierre Goiffon
0ee6c60e94
✅ Fix DBBackupTest (again :/)
...
Was working on Windows but not on Linux...
2022-01-12 09:12:04 +01:00
Pierre Goiffon
a663e9fded
✅ Fix DBBackupTest
...
DB connection dependency was added in a222ead4 (N°2336) in \DBBackup::GetMysqlCliTlsOptions but test wasn't updated accordingly :/^
The test wasn't ran on Jenkins until b11bf308 , so we saw the regression only yesterday :(
This is now fixed ! 🥳
2022-01-12 09:00:26 +01:00
Molkobain
c2408b74cd
Unit tests: Fix invalid/duplicate class name
2022-01-11 18:13:13 +01:00
Pierre Goiffon
6855c2f83a
N°4624 restore backupGlobals to default
2022-01-11 17:29:32 +01:00
Molkobain
b11bf30881
Unit tests: Activate tests that were never ran... 🥶
...
Note that testGetMysqlCliTlsOptions will fail
2022-01-11 15:49:21 +01:00
Molkobain
64736f1463
Fix unit test provider
2022-01-11 15:48:45 +01:00
Pierre Goiffon
930b224ca2
💡 N°4624 phpdoc for ItopDataTestCase
2022-01-11 15:36:40 +01:00
Pierre Goiffon
3a4c4cd33d
N°4624 Fix SessionTest
2022-01-10 16:50:02 +01:00
Pierre Goiffon
9aa399894c
N°4624 Add processIsolation PHPUnit option to all tests implementing ItopDataTestCase
2022-01-10 16:41:26 +01:00
Pierre Goiffon
bde5dc825d
💡 Fix iTopModulesPhpVersionIntegrationTest phpdoc
2022-01-10 16:35:48 +01:00
Pierre Goiffon
8578d18e7f
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/cmdbsource.class.inc.php
# core/config.class.inc.php
# core/displayablegraph.class.inc.php
# core/log.class.inc.php
# datamodels/2.x/itop-config-mgmt/dictionaries/tr.dict.itop-config-mgmt.php
# datamodels/2.x/itop-knownerror-mgmt/dictionaries/tr.dict.itop-knownerror-mgmt.php
# datamodels/2.x/itop-service-mgmt/dictionaries/tr.dict.itop-service-mgmt.php
# datamodels/2.x/itop-tickets/tr.dict.itop-tickets.php
# datamodels/2.x/itop-welcome-itil/tr.dict.itop-welcome-itil.php
# dictionaries/tr.dictionary.itop.core.php
# dictionaries/tr.dictionary.itop.ui.php
# pages/UI.php
# setup/itopdesignformat.class.inc.php
# test/core/LogAPITest.php
# test/integration/iTopModulesPhpVersionChecklistTest.php
# test/postbuild_integration/SetupCssIntegrityChecklistTest.php
# test/postbuild_integration/iTopModuleXmlInstallationChecklistTest.php
# test/status/StatusTest.php
2022-01-10 16:15:00 +01:00
Pierre Goiffon
e530cbb4f2
N°4624 Restore processIsolation on tests which actually need it
...
Warning, one symptom was having the CI returning an empty phpunit.results.xml !!
2022-01-07 17:25:18 +01:00
Pierre Goiffon
ddb8378fe6
N°4624 align phpunit annotations
...
Remove processIsolation when not needed
When needed, make sure to have also their counterpart (preserveGlobalState and backupGlobals)
2022-01-07 15:20:34 +01:00
Pierre Goiffon
47db23d91c
💚 N°4624 Fix other tests after global processIsolation was disabled in 6bf25f90
2022-01-07 12:44:08 +01:00
Pierre Goiffon
fc1f701bf6
💚 N°4624 TransactionsTest : add process isolation
...
Was global before 6bf25f90
2022-01-07 12:34:09 +01:00
Pierre Goiffon
f592d94af3
iTopModuleXmlInstallationChecklistTest : fix phpdoc, remove process isolation annotation, remove inspection warnings
2022-01-04 18:00:23 +01:00
Pierre Goiffon
0ce805b192
\MFCompilerTest::testCompileThemes : fix calling protected method
2021-12-31 15:09:18 +01:00
Pierre Goiffon
6bf25f90bc
Tests : remove global process isolation
...
Is done in ItopDataTestCase using annotation
Other tests (like the one extending ItopTestCase) won't use isolation anymore
2021-12-29 15:31:25 +01:00
Pierre Goiffon
ffd0bbb1a4
N°4515 Fix default validation pattern for AttributeURL ( #249 )
...
URL containing ":" in their path were rejected. This caused problems with some URL from Alfresco or Sharepoint...
The default regexp used by AttributeURL was updated to avoid this.
Warning, check your config to see if you have any custom regexp configured (`url_validation_pattern` config parameter) !
Also a test was added to document the default regexp.
2021-12-29 11:43:07 +01:00
Pierre Goiffon
108c1fcb2b
iTopXmlVersionIntegrationTest : more details in test feedback
2021-12-23 09:56:12 +01:00
Molkobain
5f382ee053
Fix ThemeHandlerTest for file imports in a module
2021-12-20 15:56:58 +01:00
odain
e51bd4c95f
add ci annotation sampleDataNeeded
2021-12-09 17:13:21 +01:00
Pierre Goiffon
4fbe391243
✅ Fix \Combodo\iTop\Test\UnitTest\Core\dictApcuTest that was broken with last merge
2021-12-08 18:41:57 +01:00
Pierre Goiffon
c9ef543e2e
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/log.class.inc.php
# datamodels/2.x/itop-attachments/renderers.itop-attachments.php
# js/search/search_form_criteria_enum.js
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# test/core/dictTest.php
2021-12-08 18:30:20 +01:00
Pierre Goiffon
e6d61d1ebd
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-12-08 17:16:33 +01:00
Pierre Goiffon
f916f9cde8
N°4289 Allow to use privUITransactionFile when no user logged
...
Before we were throwing a SecurityException, which was blocking for combodo-unauthenticated-form for example
2021-12-08 17:16:12 +01:00
odain-cbd
9addc4a7ca
Merge pull request #224 from Combodo/feature/dict-apcu-bug
...
Feature/dict apcu bug
2021-12-02 12:22:22 +01:00
Stephen Abello
18e341b0b7
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# application/displayblock.class.inc.php
# js/search/search_form_criteria_enum.js
# test/core/ormLinkSetTest.php
2021-12-02 10:04:04 +01:00
acognet
c1c2d027c3
N°4402 - DbObject::ListPreviousValuesForUpdatedAttributes() returns new values for _list-attributes (at least in DbObject::AfterUpdate()) Fix test
2021-11-30 12:11:04 +01:00
acognet
5269096ecd
Merge branch 'support/2.7' of github.com:Combodo/iTop into support/2.7
2021-11-29 15:07:14 +01:00
Pierre Goiffon
74fbd12709
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/src/Helper/ObjectFormHandlerHelper.php
# datamodels/2.x/itop-portal-base/portal/templates/layout.html.twig
2021-11-26 17:24:41 +01:00
Molkobain
7f2eef4a24
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-11-26 13:59:29 +01:00
Molkobain
8a65a592f3
N°4360 - Rename class to match other classes convention
2021-11-26 13:47:05 +01:00
odain
dcfdb2d0a9
N°4125 - add integration test apart from ApcService mocking
2021-11-26 10:28:56 +01:00
odain
0cbf34ba5a
N°4125 - fix tests under windows (again)
2021-11-26 09:47:01 +01:00
odain
bea52d5fb9
N°4125 - test did not run under windows
2021-11-26 09:12:58 +01:00
Stephen Abello
b75a495336
N°4283 Add more blocks to RenderAllUiBlocks.php
2021-11-25 11:39:14 +01:00
Pierre Goiffon
ddd6bf22af
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/attributedef.class.inc.php
# core/config.class.inc.php
# core/htmlsanitizer.class.inc.php
# sources/Renderer/RenderingOutput.php
# test/core/sanitizer/HTMLDOMSanitizerTest.php
# test/integration/DictionariesConsistencyTest.php
2021-11-24 15:01:38 +01:00
acognet
903de43589
N°4402 - DbObject::ListPreviousValuesForUpdatedAttributes() returns new values for _list-attributes (at least in DbObject::AfterUpdate()) Add tests
2021-11-24 12:10:30 +01:00
Pierre Goiffon
65f9f86bcc
N°3635 DictionariesConsistencyTest : now we can have multiple possible localized language desc
...
The 'Español, Castellaño' to 'Español, Castellano' was causing problem on builds with other modules that we don't want to update !
2021-11-23 18:59:10 +01:00
Pierre Goiffon
efaf53e568
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# core/htmlsanitizer.class.inc.php
2021-11-23 18:07:02 +01:00
Pierre Goiffon
81a2a9278c
✅ N°4360 Fix SvgDOMSanitizer expected data
2021-11-23 17:38:30 +01:00
Pierre Goiffon
e15d4bfab6
N°4360 Security hardening
2021-11-23 17:25:50 +01:00
Pierre Goiffon
f57785e422
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# datamodels/2.x/authent-local/dictionaries/es_cr.dict.authent-local.php
# datamodels/2.x/itop-config-mgmt/dictionaries/es_cr.dict.itop-config-mgmt.php
# datamodels/2.x/itop-knownerror-mgmt/dictionaries/es_cr.dict.itop-knownerror-mgmt.php
# datamodels/2.x/itop-service-mgmt/dictionaries/es_cr.dict.itop-service-mgmt.php
# datamodels/2.x/itop-tickets/dictionaries/es_cr.dict.itop-tickets.php
# datamodels/2.x/itop-welcome-itil/es_cr.dict.itop-welcome-itil.php
# dictionaries/es_cr.dictionary.itop.ui.php
# test/integration/DictionariesConsistencyTest.php
2021-11-22 09:08:34 +01:00
Pierre Goiffon
77880c3675
🌐 N°3635 ES dict : change 'Español, Castellaño' to 'Español, Castellano'
2021-11-22 08:55:08 +01:00
acognet
60a17c9a65
N°4406 - Warning: Missing constant ITOP_DESIGN_LATEST_VERSION
2021-11-09 15:20:42 +01:00
odain
07f470024a
N°4367 : renamed the phpunit annotation for ci purpose
2021-11-09 08:55:54 +01:00
odain
a286564345
N°4367 : add phpunit annotation for ci
2021-11-08 06:42:45 +01:00