Compare commits

...

20 Commits
7.0.1 ... 4.0

Author SHA1 Message Date
Laurent Destailleur
d7f7f5bf3d Merge branch '3.9' of git@github.com:Dolibarr/dolibarr.git into 4.0 2020-01-10 19:42:34 +01:00
Laurent Destailleur
7c0a6946a7 Merge branch '3.8' of git@github.com:Dolibarr/dolibarr.git into 3.9 2020-01-10 19:42:15 +01:00
Laurent Destailleur
1ecc1afa9e Merge branch '3.7' of git@github.com:Dolibarr/dolibarr.git into 3.8 2020-01-10 19:41:49 +01:00
Laurent Destailleur
ceb1e699b7 Merge branch '3.6' of git@github.com:Dolibarr/dolibarr.git into 3.7 2020-01-10 19:37:16 +01:00
Laurent Destailleur
c028819cab FIX clone of purchase order 2020-01-10 19:35:49 +01:00
Laurent Destailleur
d59b1bb0c6 Merge 2018-11-23 11:44:07 +01:00
Laurent Destailleur
9d582a53ca Fix compatibility with new mysql versions 2018-11-23 11:28:28 +01:00
Laurent Destailleur
8eac45a762 Merge branch '3.9' of git@github.com:Dolibarr/dolibarr.git into 4.0 2018-11-10 15:48:07 +01:00
Laurent Destailleur
3d85407619 Merge branch '3.8' of git@github.com:Dolibarr/dolibarr.git into 3.9 2018-11-10 15:46:31 +01:00
Laurent Destailleur
ca1e3b4d55 Merge branch '3.7' of git@github.com:Dolibarr/dolibarr.git into 3.8 2018-11-10 15:15:33 +01:00
Laurent Destailleur
94bb1ac511 Merge branch '3.6' of git@github.com:Dolibarr/dolibarr.git into 3.7 2018-11-10 12:49:22 +01:00
Laurent Destailleur
8893d8d59f Fix compatiblity with new version of PHP 2018-11-10 11:56:23 +01:00
Laurent Destailleur
5bab9d59b2 Fix var_dump 2018-09-02 14:19:23 +02:00
Laurent Destailleur
e41b55af13 Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into 4.0 2018-09-02 14:10:28 +02:00
Laurent Destailleur
a69c3caf2c Prepare compatibility with phpunit 6.1 2018-09-02 14:10:06 +02:00
Laurent Destailleur
e03d7eba8c Merge pull request #9254 from frederic34/patch-17
Build Badge by branch
2018-08-21 12:48:23 +02:00
Frédéric FRANCE
2aa0956f15 Update README.md 2018-08-16 16:08:04 +02:00
Frédéric FRANCE
bb09bcece4 Update README.md 2018-08-16 16:03:56 +02:00
Laurent Destailleur
e61bcd03ed Fix travis 2017-09-16 13:03:27 +02:00
Laurent Destailleur
3295498e9e Remove code comment 2017-09-16 12:50:34 +02:00
62 changed files with 280 additions and 162 deletions

View File

@@ -131,10 +131,10 @@ before_script:
echo "Set timezone" echo "Set timezone"
echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php.ini echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php.ini
if [ "$TRAVIS_PHP_VERSION" = '5.3' ] || [ "$TRAVIS_PHP_VERSION" = '5.4' ]; then if [ "$TRAVIS_PHP_VERSION" = '5.3' ] || [ "$TRAVIS_PHP_VERSION" = '5.4' ]; then
echo #echo
echo "Enabling APC for PHP <= 5.4" #echo "Enabling APC for PHP <= 5.4"
# Documentation says it should be available for PHP <= 5.6 but it's not for 5.5 and 5.6! # Documentation says it should be available for PHP <= 5.6 but it's not for 5.5 and 5.6!
echo 'extension = apc.so' >> ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php.ini #echo 'extension = apc.so' >> ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php.ini
echo echo
echo "Enabling Memcached for PHP <= 5.4" echo "Enabling Memcached for PHP <= 5.4"
# Documentation says it should be available for all PHP versions but it's not for 5.5 and 5.6, 7.0 and nightly! # Documentation says it should be available for all PHP versions but it's not for 5.5 and 5.6, 7.0 and nightly!

View File

@@ -1,6 +1,6 @@
# DOLIBARR ERP & CRM # DOLIBARR ERP & CRM
![Build status](https://img.shields.io/travis/Dolibarr/dolibarr/develop.svg) ![Downloads per day](https://img.shields.io/sourceforge/dm/dolibarr.svg) ![Build status](https://img.shields.io/travis/Dolibarr/dolibarr/4.0.svg) ![Downloads per day](https://img.shields.io/sourceforge/dm/dolibarr.svg)
Dolibarr ERP & CRM is a modern software package to manage your organization's activity (contacts, suppliers, invoices, orders, stocks, agenda, ...). Dolibarr ERP & CRM is a modern software package to manage your organization's activity (contacts, suppliers, invoices, orders, stocks, agenda, ...).

View File

@@ -1143,6 +1143,7 @@ class CommandeFournisseur extends CommonOrder
$this->lines[$i]->remise_percent, $this->lines[$i]->remise_percent,
'HT', 'HT',
0, 0,
$this->lines[$i]->product_type,
$this->lines[$i]->info_bits $this->lines[$i]->info_bits
); );
if ($result < 0) if ($result < 0)

View File

@@ -61,6 +61,8 @@ class AdherentTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -59,6 +59,8 @@ class AdminLibTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -61,6 +61,8 @@ class BankAccountTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -62,6 +62,8 @@ class BonPrelevementTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -89,6 +89,8 @@ class BuildDocTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -59,6 +59,8 @@ class CMailFileTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class CategorieTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class ChargeSocialesTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -61,6 +61,8 @@ class CommandeFournisseurTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -59,6 +59,8 @@ class CommandeTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class CommonObjectTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class CompanyBankAccountTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -68,6 +68,8 @@ class ContactTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class ContratTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -62,6 +62,8 @@ class CoreTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class DateLibTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class DateLibTzFranceTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class DiscountTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class EntrepotTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -64,6 +64,8 @@ class ExportTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class FactureFournisseurTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -61,6 +61,8 @@ class FactureRecTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -59,6 +59,8 @@ class FactureTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class FactureTestRounding extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class FichinterTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -61,6 +61,8 @@ class FilesLibTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class FormAdminTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -63,6 +63,8 @@ class Functions2LibTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -63,6 +63,8 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -62,6 +62,8 @@ class HolidayTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -61,6 +61,8 @@ class ImagesLibTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -62,6 +62,8 @@ class ImportTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -62,6 +62,8 @@ class JsonLibTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -72,6 +72,8 @@ class LangTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class MarginsLibTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;
@@ -138,7 +140,6 @@ class MarginsLibTest extends PHPUnit_Framework_TestCase
$this->assertEquals(20,$result[2]); $this->assertEquals(20,$result[2]);
$result=getMarginInfos(10, 10, 19.6, 0, 0, 0, 8); $result=getMarginInfos(10, 10, 19.6, 0, 0, 0, 8);
var_dump($result);
print __METHOD__." result[0]=".$result[0]."\n"; print __METHOD__." result[0]=".$result[0]."\n";
$this->assertEquals(8,$result[0]); $this->assertEquals(8,$result[0]);
print __METHOD__." result[1]=".$result[1]."\n"; print __METHOD__." result[1]=".$result[1]."\n";

View File

@@ -59,6 +59,8 @@ class ModulesTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -62,6 +62,8 @@ class MouvementStockTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -59,6 +59,8 @@ class NumberingModulesTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -61,6 +61,8 @@ class PaypalTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -63,6 +63,8 @@ class PdfDocTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -62,6 +62,8 @@ class PgsqlTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -67,6 +67,8 @@ class PricesTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class ProductTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -61,6 +61,8 @@ class ProjectTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class PropalTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -64,6 +64,8 @@ class RestAPIUserTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -72,6 +72,8 @@ class ScriptsTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -72,6 +72,8 @@ class SecurityTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -60,6 +60,8 @@ class SocieteTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -72,6 +72,8 @@ class SqlTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -59,6 +59,8 @@ class UserGroupTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -59,6 +59,8 @@ class UserTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -66,6 +66,8 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -61,6 +61,8 @@ class WebservicesOrdersTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -61,6 +61,8 @@ class WebservicesOtherTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -68,6 +68,8 @@ class WebservicesProductsTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -68,6 +68,8 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -61,6 +61,8 @@ class WebservicesUserTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;

View File

@@ -59,6 +59,8 @@ class XCalLibTest extends PHPUnit_Framework_TestCase
*/ */
function __construct() function __construct()
{ {
parent::__construct();
//$this->sharedFixture //$this->sharedFixture
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
$this->savconf=$conf; $this->savconf=$conf;