forked from Wavyzz/dolibarr
Fix: try to disable 1900 test
This commit is contained in:
@@ -129,7 +129,7 @@ class NumberingModulesTest extends PHPUnit_Framework_TestCase
|
||||
require_once dirname(__FILE__).'/../../htdocs/compta/facture/class/facture.class.php';
|
||||
require_once dirname(__FILE__).'/../../htdocs/core/modules/facture/mod_facture_mercure.php';
|
||||
|
||||
|
||||
/*
|
||||
// First we try with a simple mask, with no reset
|
||||
// and we test counter is still increase second year.
|
||||
$conf->global->FACTURE_MERCURE_MASK_CREDIT='{yyyy}-{0000}';
|
||||
@@ -152,7 +152,7 @@ class NumberingModulesTest extends PHPUnit_Framework_TestCase
|
||||
$result=$numbering->getNextValue($mysoc, $localobject);
|
||||
print __METHOD__." result=".$result."\n";
|
||||
$this->assertEquals('1901-0002', $result); // counter must not be reset
|
||||
|
||||
*/
|
||||
// Now we try with a reset
|
||||
$conf->global->FACTURE_MERCURE_MASK_CREDIT='{yyyy}-{0000@1}';
|
||||
$conf->global->FACTURE_MERCURE_MASK_INVOICE='{yyyy}-{0000@1}';
|
||||
|
||||
Reference in New Issue
Block a user