Molkobain
73c6b4be20
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# test/core/DBObjectTest.php
2022-03-23 09:44:13 +01:00
Eric Espie
7ce5712b71
N°4967 - 'Previous Values For Updated Attributes' not updated if DBUpdate is called without modifying the object
2022-03-21 08:43:03 +01:00
Pierre Goiffon
5908ec5197
N°4515 AttributeURLTest : add SF forum url
2022-03-10 16:42:43 +01:00
Molkobain
0f2cbaf186
N°4849 - Enable notification emails grouping in threads in email clients ( #275 )
...
N°4849 - Enable notification emails grouping in threads in email clients (#275 )
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
2022-03-10 09:31:29 +01:00
Molkobain
ede720c9b9
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2022-03-07 12:52:09 +01:00
Molkobain
cd7f9e478f
N°4913 - Avoid object initials to overflow in medallions
2022-03-06 22:44:12 +01:00
Molkobain
e3586cff65
Unit tests: Add unit cyrillic alphabet test case for utils::ToAcronym()
2022-03-06 16:31:48 +01:00
Pierre Goiffon
f78986009f
✅ Improve messages of iTopModuleXmlInstallationChecklistTest::testAllModuleAreIncludedInInstallationXml
2022-03-03 10:46:06 +01:00
Eric Espie
94d31827e7
N°4569 - Fix tests
2022-03-02 17:54:27 +01:00
Stephen Abello
619c0d34e8
N°4764 Fix unit test
2022-02-28 14:59:56 +01:00
Eric Espie
f24f8a2f34
N°4569 - Fix restoring deleted nodes when parent is not present
2022-02-28 10:54:59 +01:00
Pierre Goiffon
6a5840ed82
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# lib/composer/installed.php
# setup/licenses/community-licenses.xml
# setup/setuputils.class.inc.php
# sources/application/TwigBase/Controller/Controller.php
2022-02-14 08:41:33 +01:00
Molkobain
4a67819f87
N°4714 - Revert rename of utils::GetItopVersionWikiSyntax as it is used in cached packages in the ITSM Designer
2022-02-11 20:00:39 +01:00
Pierre Goiffon
81c39c35cd
N°4771 Fix lib test dir detection
...
Thanks to @Molkobain and @Hipska for their review in dfaa9733
2022-02-11 18:15:56 +01:00
odain
df1e19dc43
enhance ItopDataTestCase->CreateUser to avoid be able to avoid hardcoded contact_id
2022-02-11 14:10:02 +01:00
Pierre Goiffon
dfaa973359
N°4771 improve iTopComposerTest
...
- debug testListDeniedTestDir not working well on Windows
- update error message for testAllDirCovered
2022-02-10 12:54:09 +01:00
Pierre Goiffon
3b99006159
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# test/integration/iTopModulesPhpVersionChecklistTest.php
2022-02-08 14:49:08 +01:00
Pierre Goiffon
299ad7e753
N°4714 Fix \utils::GetCoreVersionWikiSyntax throwing Exception when 2nd version digit is "0" (for example in 3.0.1)
2022-02-08 14:48:02 +01:00
Pierre Goiffon
94a2421186
N°4714 Fix iTopModulesPhpVersionIntegrationTest
...
Was still testing removed utils::GetItopMinorVersion()
And also wrong merge done in testITopModulesPhpVersion()
2022-02-08 14:30:06 +01:00
Pierre Goiffon
b360514646
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/displayblock.class.inc.php
# application/ui.extkeywidget.class.inc.php
# application/utils.inc.php
# approot.inc.php
# core/config.class.inc.php
# css/css-variables.scss
# datamodels/2.x/authent-cas/module.authent-cas.php
# datamodels/2.x/authent-external/module.authent-external.php
# datamodels/2.x/authent-ldap/module.authent-ldap.php
# datamodels/2.x/authent-local/module.authent-local.php
# datamodels/2.x/combodo-db-tools/module.combodo-db-tools.php
# datamodels/2.x/itop-attachments/module.itop-attachments.php
# datamodels/2.x/itop-backup/module.itop-backup.php
# datamodels/2.x/itop-bridge-virtualization-storage/module.itop-bridge-virtualization-storage.php
# datamodels/2.x/itop-change-mgmt-itil/module.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php
# datamodels/2.x/itop-config/module.itop-config.php
# datamodels/2.x/itop-core-update/module.itop-core-update.php
# datamodels/2.x/itop-datacenter-mgmt/module.itop-datacenter-mgmt.php
# datamodels/2.x/itop-endusers-devices/module.itop-endusers-devices.php
# datamodels/2.x/itop-files-information/module.itop-files-information.php
# datamodels/2.x/itop-full-itil/module.itop-full-itil.php
# datamodels/2.x/itop-hub-connector/module.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/module.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/module.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal/module.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/module.itop-problem-mgmt.php
# datamodels/2.x/itop-profiles-itil/module.itop-profiles-itil.php
# datamodels/2.x/itop-request-mgmt-itil/module.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/module.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php
# datamodels/2.x/itop-sla-computation/module.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/module.itop-storage-mgmt.php
# datamodels/2.x/itop-tickets/module.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/module.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/module.itop-welcome-itil.php
# datamodels/2.x/version.xml
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
# setup/modelfactory.class.inc.php
# setup/setuputils.class.inc.php
# test/integration/iTopModulesPhpVersionChecklistTest.php
2022-02-08 13:18:50 +01:00
Pierre Goiffon
de053eed72
N°4714 Update iTopXmlVersionIntegrationTest::testItopXmlVersion to use new constant
2022-02-01 15:27:57 +01:00
Pierre Goiffon
17612f88d3
N°4714 utils version method refactoring
...
- removes utils::GetItopPatchVersion and GetItopMinorVersion : unused and badly named :/
- GetItopVersionWikiSyntax now uses core version constant
- iTopModulesPhpVersionIntegrationTest::testiTopModulesPhpVersion now uses ITOP_CORE_VERSION constant
2022-02-01 15:24:56 +01:00
Pierre Goiffon
4e80fc0f76
N°4624 Remove processIsolation flag from postBuild tests
...
Was done in standard test suite (test/phpunit.xml.dist) with 6bf25f90
2022-02-01 14:50:33 +01:00
Eric Espie
52327d1086
Migrate default theme test-red
2022-01-31 17:50:54 +01:00
Eric Espie
4463e91d85
N°4569 - Fix unit tests
2022-01-31 16:41:01 +01:00
Eric Espie
b9ea7d4913
N°4569 - Fix collision between existing nodes and saved ones
2022-01-27 17:42:52 +01:00
Eric Espie
3a56824cde
N°4569 - Fix unit tests names
2022-01-26 16:02:07 +01:00
Eric Espie
9a6d40e9db
N°4569 - Fix unit tests
2022-01-26 15:30:03 +01:00
Eric Espie
a839b1c4ae
N°4569 - Fix unit tests
2022-01-26 15:14:42 +01:00
Eric Espie
468de06fe1
N°4569 - Fix deletion of light-grey theme for iTop 2.7 and older
2022-01-26 10:00:48 +01: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
6c5ca614e0
🔧 phpunit.xml restoring old style
...
Not enough time to work on this right now :(
Will be done with N°4660
2022-01-13 14:14:59 +01:00
Pierre Goiffon
4ddee0b624
🔧 phpunit.xml setup at the end
...
\Combodo\iTop\Test\UnitTest\Synchro\DataSynchroTest::RunDataSynchroTest was generating a ConfigException (file exists but cannot be read)
2022-01-13 13:50:39 +01:00
Pierre Goiffon
135ddbf37d
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# test/phpunit.xml.dist
2022-01-13 13:36:09 +01:00
Pierre Goiffon
a43adcd202
🔧 phpunit.xml comment OQL better
...
Was executing on Jenkins :(
2022-01-13 13:11:26 +01:00
Pierre Goiffon
e8e170fb06
🔧 phpunit.xml reorder testSuites again
2022-01-13 13:05:42 +01:00
Pierre Goiffon
5ac5d649aa
🔧 Try again : reorder test suites for better readability
...
Jenkins should now be fixed
2022-01-13 12:15:12 +01:00
Pierre Goiffon
decb802df4
Revert " 🔧 Reorder test suites for better readability"
...
This reverts commit cacc3a3085 .
2022-01-13 09:48:07 +01:00
Pierre Goiffon
cacc3a3085
🔧 Reorder test suites for better readability
2022-01-13 09:42:21 +01:00
Pierre Goiffon
0fd2ea6a47
🎨 phpunit.xml code formatting
2022-01-13 09:42:21 +01:00
Molkobain
ab7e73ef9b
Unit tests: Fix typo in tests suite name
2022-01-12 15:56:42 +01:00
Molkobain
31e7a5383c
Unit tests: Activate tests that were never ran... 🥶
2022-01-12 15:31:40 +01:00
Molkobain
64afa07ff5
Unit tests: Fix themes compilation test
2022-01-12 15:14:05 +01:00
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