Commit Graph

34 Commits

Author SHA1 Message Date
Laurent Destailleur
27e0859051 Fix travis error 2016-07-26 13:52:43 +02:00
phf
4baff7898d FIX insert FactureLigne
FIX phpunit PriceTest with new values returned for multicurrency module
NEW add test in PriceTest
FIX FactureTest properties not defined
2016-01-26 22:18:31 +01:00
Laurent Destailleur
435be30047 Clean code 2015-03-17 00:35:17 +01:00
Laurent Destailleur
fdaa930507 Solve phpunit.
Fix database field format
2015-01-19 01:58:48 +01:00
frederic34
73fda2cb86 WIP PSR2 2015-01-08 18:36:03 +01:00
Laurent Destailleur
f7552c83d2 Fix: Must ignore such fields 2014-10-30 17:50:34 +01:00
Laurent Destailleur
14ab409ca9 Merge remote-tracking branch 'origin/3.6' into develop
Conflicts:
	htdocs/admin/stock.php
	htdocs/admin/system/index.php
	htdocs/comm/fiche.php
	htdocs/core/lib/admin.lib.php
	htdocs/core/lib/holiday.lib.php
	htdocs/core/lib/pdf.lib.php
	htdocs/core/login/functions_forceuser.php
	htdocs/core/login/functions_http.php
	htdocs/core/menus/standard/auguria.lib.php
	htdocs/core/modules/livraison/pdf/pdf_typhon.modules.php
	htdocs/filefunc.inc.php
	htdocs/holiday/define_holiday.php
	htdocs/opensurvey/fonctions.php
	htdocs/societe/canvas/actions_card_common.class.php
	test/phpunit/CompanyBankAccountTest.php
	test/phpunit/ExportTest.php
	test/phpunit/FactureTest.php
	test/phpunit/FunctionsLibTest.php
	test/phpunit/PropalTest.php
	test/phpunit/SocieteTest.php
	test/phpunit/WebservicesInvoicesTest.php
	test/phpunit/WebservicesThirdpartyTest.php
2014-09-28 02:14:32 +02:00
Laurent Destailleur
5fdd798e91 Fix: phpcheckstyle from phpcs 1.5.5 (closing tags and & char on
parameter).
2014-09-27 17:13:15 +02:00
Laurent Destailleur
e8b7c9c6bd Fix: doxygen 2014-09-27 16:00:11 +02:00
Laurent Destailleur
cfc337a79a Qual: Enable php checkstyle rule Zend.Files.ClosingTag
Fix: Solve a lot of checkstyle errors.
2014-07-20 15:27:38 +02:00
Laurent Destailleur
0e13ded641 Merge remote-tracking branch 'origin/3.4' into 3.5
Conflicts:
	test/phpunit/CoreTest.php
	test/phpunit/Functions2Test.php
	test/phpunit/FunctionsTest.php
2014-05-18 11:57:18 +02:00
Laurent Destailleur
70cccc907a Fix: Check env before test to be sure module ecotax is not enabled
(this change result).
2014-05-08 15:30:31 +02:00
Laurent Destailleur
7216b2a843 Fix phpunit to be compatible with new version of phpunit 2014-05-02 00:08:27 +02:00
Laurent Destailleur
876a35d1a1 Fix phpunit to be compatible with new version of phpunit 2014-05-02 00:08:19 +02:00
Laurent Destailleur
dc1ccbfae8 Fix: [ bug #1177 ] Error on create domiciliation 2013-12-14 15:40:43 +01:00
Laurent Destailleur
8d206fdfb0 Prepare move to other licence. For the moment all answers for licence
upgrade were not yet received. So we prepare for GPL by uniformizing
licence text keys to GPL-3+. Will move later to AGPL if all answers are
positive.
2013-01-16 15:36:08 +01:00
Regis Houssin
d4ec7581ac Fix: best practice if result >= 0
assertGreaterThanOrEqual(expected, result)
2012-10-28 13:44:52 +01:00
Regis Houssin
d6a3b76270 Fix: regression 2012-10-28 13:37:09 +01:00
Regis Houssin
75587b3a15 Fix: wrong delete invoice test 2012-10-28 13:18:15 +01:00
Marcos García
5a73c32f46 Migrated ClassName to __construct() function
Changed $DB to $db
lower-cased "Class"
2012-07-30 17:17:33 +02:00
Regis Houssin
da4a29462e Fix: php unit test error 2012-03-17 08:50:09 +01:00
Laurent Destailleur
fc62b1c9c7 Removed all checkstyle errors into phpunit files 2012-02-18 01:07:52 +01:00
Laurent Destailleur
881df18f0c Doxygen 2012-02-17 09:55:48 +01:00
Laurent Destailleur
95a292f41b Fix: Update licence files 2011-12-17 21:58:44 +01:00
Laurent Destailleur
7f3c336b7b Clean invoice class and enhance phpunit tests 2011-12-03 15:12:18 +01:00
Laurent Destailleur
2a456b08d5 Enhance PHPUnit tests 2011-09-23 12:21:00 +00:00
Regis Houssin
e2f9864f42 Add build files for Hudson server
Fix: avoid errors with PHPUnit/Autoload.php
2011-09-16 16:16:39 +00:00
Laurent Destailleur
d7c2b906cd Qual: Add more phpunit tests 2011-09-10 12:28:00 +00:00
Regis Houssin
726d9581dd Fix: remove obsolete tags (in progress) 2011-08-27 14:24:16 +00:00
Laurent Destailleur
43ce5a638e Increase unit test code coverage (now 21%) 2010-10-26 19:47:19 +00:00
Laurent Destailleur
bb1732f0cd Qual: More phpunit tests 2010-10-23 17:36:02 +00:00
Laurent Destailleur
6f26f35529 Add more phpunit tests 2010-10-13 19:01:22 +00:00
Laurent Destailleur
fa526a9509 Qual: Add more PHPUnit tests 2010-10-03 18:53:40 +00:00
Laurent Destailleur
6e0b42afb1 Add selenium tests 2010-08-15 23:19:46 +00:00