Laurent Destailleur
298396a57e
Merge remote-tracking branch 'origin/3.7' into 3.8
...
Conflicts:
test/phpunit/AllTests.php
2015-12-19 01:27:19 +01:00
Laurent Destailleur
a136e90749
Fix travis
2015-12-19 01:06:11 +01:00
Laurent Destailleur
f5fa557ef7
Fix perm
2015-12-19 00:36:00 +01:00
Laurent Destailleur
41cdb65521
Test to solve travis error
2015-12-18 21:44:18 +01:00
Laurent Destailleur
05ea9afa02
Fix to manage de_CH thousand separator
2015-12-18 20:53:04 +01:00
Raphaël Doursenaud
bbe7498de6
Better Travis CI
...
NEW:
Cleaned up routines for better readability of both declaration and results.
PHP versions now really covered.
The old code forced install of PHP and didn't use Travis provided versions.
This resulted in the process not being executed with the declared PHP version.
Dropped MySQL in favor of MariaDB.
This is now the FLOSS community standard.
This should help avoid problems with buggy MySQL releases.
Fast finish enabled to show results faster.
Optimized tools installation with composer.
The right version of the tool is installed for the PHP version under test.
New PHP linter to check for syntax errors.
Parallelized for better speed.
Apache + PHP FPM for testing webservices.
The previous mod_php configuration was not supported on Travis.
New global DEBUG environment variable to show verbose output with configuration files content.
IRC notification on #dolibarr@freenode for community awareness.
FIXES:
Bug in scripts preventing execution with environmentalized PHP.
Wrong detection of MAIN_URL_ROOT under specific circumstances.
$_SERVER["DOCUMENT_ROOT"] empty and $_SERVER["SCRIPT_NAME"] populated.
Relative ignore directive in coding style ruleset to avoid bypassing test.
Unit test errors without an exit status.
This prevented the CI from properly detecting and reporting the error.
TODOS:
PostgreSQL support.
This one is tricky since we only have a MySQL dump and the syntax is not directly compatible.
SQLite support.
Disabled in core at the moment.
Nginx + PHP FPM support.
Test webservices on the second most popular webserver.
Run dev/* checks.
We have a nice collection of scripts we could leverage.
Check Javascript.
Check CSS.
Check SQL.
2015-12-13 21:34:36 +01:00
Laurent Destailleur
3b595f0247
Merge remote-tracking branch 'origin/3.8' into develop
...
Conflicts:
htdocs/accountancy/bookkeeping/list.php
htdocs/accountancy/customer/list.php
htdocs/accountancy/journal/bankjournal.php
htdocs/core/lib/date.lib.php
htdocs/core/lib/report.lib.php
htdocs/langs/en_US/accountancy.lang
2015-12-13 16:23:33 +01:00
Laurent Destailleur
4b741c6b9c
Fix permissions
2015-12-13 16:16:30 +01:00
Laurent Destailleur
a462cd232d
Merge remote-tracking branch 'origin/3.7' into 3.8
2015-12-13 16:09:09 +01:00
Laurent Destailleur
4a88c9ea9f
Merge remote-tracking branch 'origin/3.6' into 3.7
...
Conflicts:
htdocs/product/class/product.class.php
2015-12-13 15:53:57 +01:00
Raphaël Doursenaud
c0862762a5
Fix #3930 Removed executable bit
...
These files doesn't contain executable code and may pose a security
threat.
2015-12-09 13:28:36 +01:00
Laurent Destailleur
5d5cfd498a
Add holiday date functions into PHPUnit
2015-11-28 19:54:16 +01:00
Laurent Destailleur
7f75a3da9d
NEW On list of thirdparties, user can select fields to show.
...
Make phpunit test working again localy.
Add missing columns into llx_expedition.
2015-10-15 03:29:35 +02:00
Laurent Destailleur
e22b0b9a57
More complete PHPunit test
2015-10-14 22:36:32 +02:00
Raphaël Doursenaud
b785db86a8
Fix unittests regression
...
Introduced by incomplete renaming
of modSyncSupplierWebServices to modWebServicesClient
in 4b103ba8ce
2015-10-09 19:02:44 +02:00
Juanjo Menent
86a201edcf
Merge pull request #3595 from GPCsolutions/note
...
[Qual] Do not test deprecated update_note_public()
2015-09-26 08:46:51 +02:00
Raphaël Doursenaud
bd7d487c79
[Qual] Do not test deprecated update_note_public()
2015-09-24 20:52:43 +02:00
Raphaël Doursenaud
9f2545b95d
[Qual] Replaced deprecated dol_clone by native clone
2015-09-24 17:24:40 +02:00
Laurent Destailleur
25e729cf4d
Revert "Fix #3322 Use title for alt if no alt is provided"
...
This reverts commit 2cf9d9f583 .
2015-08-12 23:18:07 +02:00
Juanjo Menent
761c50a885
Merge remote-tracking branch 'origin/3.7' into 3.8
2015-08-06 18:22:29 +02:00
Raphaël Doursenaud
2cf9d9f583
Fix #3322 Use title for alt if no alt is provided
...
alt has priority over title, so it should be filled if title is filled.
Use the title value to fill alt.
Unit test updated accordingly.
2015-08-03 10:30:10 +02:00
Arnaud Aujon
ed657d2bdf
hopefully fix travis errors
2015-06-01 20:39:51 +02:00
Arnaud Aujon
9bd32d7bf6
Merge remote-tracking branch 'upstream/develop' into 3.7-webservices-fix
2015-06-01 20:10:51 +02:00
Arnaud Aujon
3099e2acc4
fix travis issues again
2015-06-01 14:15:09 +02:00
Arnaud Aujon
0c66c9745e
fix travis error
2015-06-01 13:04:33 +02:00
Laurent Destailleur
65c7ab7a93
Fix: Introduce error by default when function is used as a true delete
...
function.
2015-05-29 17:11:42 +02:00
Arnaud Aujon
3003b41a88
add test for invoices API
2015-05-28 16:57:28 +02:00
Arnaud Aujon
05a7ab158b
add deleteThirdParty api call + add tests
2015-05-28 16:56:45 +02:00
Arnaud Aujon
336b8c49b3
update test
2015-05-27 15:42:46 +02:00
Arnaud Aujon
6d5555948e
Merge remote-tracking branch 'upstream/develop' into 3.7-webservices-fix
...
Conflicts:
test/phpunit/WebservicesInvoicesTest.php
2015-05-21 13:11:41 +02:00
Arnaud Aujon
2db885a2b3
first attempt to add test
2015-05-11 13:51:57 +02:00
jfefe
0d14cb8709
Modify thirdparty delete() method to pass user object as an argument.
2015-05-03 18:44:42 +02:00
Laurent Destailleur
a0c27620b2
Fix to match spanish new vat value
2015-04-26 18:28:08 +02:00
Laurent Destailleur
1abcd5f4fe
Fix test for vat calculation
2015-04-26 16:58:00 +02:00
Laurent Destailleur
4235d74aac
Fix tests for ES
2015-04-26 16:45:24 +02:00
Juanjo Menent
3d08280026
Fix test for es. testGetDefaultLocalTax
2015-04-23 10:35:08 +02:00
Juanjo Menent
e2635f66f5
Fix test for es
2015-04-22 22:10:50 +02:00
Laurent Destailleur
6b15cafb4e
Add protection to request some module to be on for AllTests
2015-04-22 21:38:34 +02:00
Laurent Destailleur
208ac31bf8
Fix test for es
2015-04-22 17:39:09 +02:00
Juanjo Menent
ad31f0110a
Improve PHPUnit Prices test for Spanish localtax1 and localtax2
2015-04-21 22:01:53 +02:00
Laurent Destailleur
f06255e9d2
Complete the mailmap file.
2015-04-21 16:57:45 +02:00
Laurent Destailleur
22921ad26b
Fix phpunit
2015-04-19 04:43:28 +02:00
Laurent Destailleur
72845b21c7
Add log
2015-04-19 04:01:31 +02:00
Laurent Destailleur
6db76830fd
Fix load module by test
2015-04-19 03:36:27 +02:00
Laurent Destailleur
e508b28d74
Fix doliforge bug 1707
2015-04-15 18:53:39 +02:00
Laurent Destailleur
bf254baa02
Fix doliforge bug 1707
2015-04-15 18:50:41 +02:00
Laurent Destailleur
ae103e34b8
Merge remote-tracking branch 'origin/3.7' into develop
...
Conflicts:
build/debian/changelog
htdocs/compta/facture.php
htdocs/core/lib/price.lib.php
htdocs/install/mysql/migration/3.6.0-3.7.0.sql
htdocs/opensurvey/public/studs.php
htdocs/projet/element.php
2015-04-13 13:08:46 +02:00
Laurent Destailleur
6889162d7a
Fix: management of vat type 2, 4 and 6 is now ok.
...
Works for canada and ivory cost.
2015-04-11 22:51:53 +02:00
Laurent Destailleur
747c780f67
Enhance phpunit tests
2015-04-04 02:44:42 +02:00
Laurent Destailleur
9f5ba746a1
Update phpunit tests
2015-04-04 00:51:00 +02:00