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
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
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
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
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
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
cfdbc8ae62
N°4215 When checking for TLS cnx, don't set anymore CMDBSource mysql attributes !
2021-09-23 11:59:44 +02:00
Pierre Goiffon
aaa8f6d311
N°4215 Fix call to a function on null error when setting TLS connection in the setup
...
Regression introduced by b1ca1f2630 / N°3513
2021-09-22 15:59:39 +02:00
odain
2fe4265223
N°4125 - Make translations loading more robust toward APCu cache corruption or invalid dictionnary - adaptations to get current correction accepted
2021-07-28 11:14:49 +02:00
odain
c98ad106c4
N°4125 - Make translations loading more robust toward APCu cache corruption or invalid dictionnary
2021-07-01 17:34:23 +02:00
Eric
949b213f9d
N°3513 - revert crud sequence
2021-06-24 13:32:43 +02:00
Eric
b1ca1f2630
N°3513 - ObjectFormManager : remove transaction
...
* Add automatic tests
* Fix object consistency
2021-06-22 16:09:41 +02:00
Eric
d11eceac62
✅ N°4052 - OQL parser limit for huge request - fix CI
2021-06-03 17:07:17 +02:00
Eric
02d32a556d
N°4052 - OQL parser limit for huge request
2021-06-02 15:15:00 +02:00
Eric
71fcc6f026
N°4031 - OQL Error when AttributeObjectKey is used in JOIN condition
2021-06-02 14:45:03 +02:00
odain
d4607ee815
N°3065 - Failed enum comparison when values contains parenthesis : add a warning
2021-03-02 07:33:36 +01:00
Pierre Goiffon
35155e4b7a
💡 N°3065 comments modifications
2021-02-26 10:06:29 +01:00
odain
74246a8278
N°3065 - Failed enum comparison when values contains parenthesis - enhance db model parsing used during setup comparison with expected one to generate SQL migration queries
2021-02-18 18:24:09 +01:00
Eric
dbb6e43751
N°3618 - Count on union with different conditions fails (Fix unit tests)
2021-02-05 11:28:40 +01:00
Eric
f07f0ba1c7
N°3618 - Count on union with different conditions fails (Fix multi-column attributes sql generation)
2021-02-05 10:15:14 +01:00
Pierre Goiffon
a5894c1a4c
Rename \Combodo\iTop\Test\UnitTest\ItopTestCase::InvokeInvisible* to InvokeNonPublic*
2021-02-04 09:41:56 +01:00
Eric
e06996a2e4
N°3660 - Fix JOIN without condition on child joined table is ignored (check done in optimizer)
2021-02-03 15:58:54 +01:00
Pierre Goiffon
765560d1f5
ItopTestCase : helpers to call invisble methods
2021-02-02 17:57:40 +01:00
Eric
bc024d9ed0
N°3660 - Fix JOIN without condition on child joined table is ignored
2021-02-02 17:30:03 +01:00
Pierre Goiffon
512b415bd6
N°3065 add test case in comment
2020-10-30 11:30:22 +01:00
acognet
96332b7885
N°3139 - import csv : hyperlink not clickable
2020-10-16 14:15:51 +02:00
odain
df5aacca42
💚 use new ci validation
2020-10-09 10:08:31 +02:00
Pierre Goiffon
06acac97ba
✅ Fix tests
...
* update datamodel XML version
* Remove \Combodo\iTop\Test\UnitTest\Core\OQLTest::testTypeErrorQueryParser
2020-10-07 16:21:36 +02:00
acognet
ed0e16494d
N°3335 - Fix test
2020-10-05 16:23:56 +02:00
Pierre Goiffon
b2474d3368
N°3324 Portal fix ignore_silo when using nested query in scopes
...
The AllowAllData attribute wasn't updated in the nested queries.
It is now set both when calling DBObjectSearch::AllowAllData and when creating a new nested query (\DBObjectSearch::AddConditionExpression)
2020-10-01 12:15:34 +02:00
odain
9520d2794f
💚 fix ci Serialization of 'ReflectionClass' is not allowed
2020-09-25 10:29:48 +02:00
odain
4e0eed6e13
N°3270 Notify on expiration not sending notification (trigger exception)
...
add boilerplate function and use it to intercept/enrich trigger exception loops
2020-09-25 07:18:14 +02:00
odain
8902d6e532
CI migration/automation + new test to ease iTop release management
...
- new Jenkinsfile and .jenkins removal to launch phpunit/behat tests
triggered on both iTop build and push.
- N°3053 - Check XML conversion methods
- N°3057 - New build recipe
- N°3059 - Automatically set the documentation URLs
- N°3052 - Check community modules XML version against latest version
- N°3054 - Check community modules version against major version
- N°3062 - setup.css file integrity test
- N°3060 - Check consistency between the list of modules and installation.xml
- Add exclusion group for CI
- N°3061 - Automatically check the installation.xml consistency
2020-08-07 14:48:51 +02:00
Eric
ace676dc24
N°2585 - Fix alias problem in portal scopes
...
The re-aliasing map structure now allows multiple mapping for the same alias (used for the translations of UNIONS)
2020-07-23 16:41:57 +02:00
Eric
8122270476
N°3176 - OQL: Fix malformed UNION queries in portal scopes
...
Fix regression in Unit tests
2020-07-22 17:30:38 +02:00
Eric
1f66d53ab4
N°3176 - OQL: Fix malformed UNION queries in portal scopes
...
Fixed AddCondition_ReferencedBy() for unions (regression introduced by N°2970)
2020-07-22 16:09:08 +02:00
Eric
94f9b16c03
N°2589 - Infinite loops when logging with a Contact having a non empty TagSet field
...
Add ListParameters to DBSearch for nested queries
2020-06-24 15:18:11 +02:00
bruno DA SILVA
be20705449
Add unit test.
...
unit test the behaviour of the removal of the blacklisted html tags
this is in fact an adaptation of the test added for the rolled-back feature of the n°2556.
This feature has been postponed to the 2.8 due to performance scaling issues.
2020-06-22 16:13:31 +02:00
Pierre Goiffon
8d73eb6dff
Revert "N°2556 - Html sanitization preserve content of removed tags (except for a forbidden list)"
...
This reverts commit 746b47bb0e .
Revert "N°2556 - Repair CI"
This reverts commit 79909fadc0 .
2020-06-22 11:36:46 +02:00
Pierre Goiffon
2705543efd
N°2997 new test for AbstractWeeklyScheduledProcess
...
Document the way GetNextOccurrence works O:)
2020-06-12 18:20:07 +02:00