From acd7b405f7db75813816842d0e78688cee874a89 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Mon, 26 Aug 2019 15:13:06 +0200 Subject: [PATCH] =?UTF-8?q?0001728:=20Aide=20=C3=A0=20l'encodage=20-=20Jou?= =?UTF-8?q?rnaux=20n=C3=A9gatifs=20(note=20de=20cr=C3=A9dit)=20Unit=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unit-test/include/class/acc_ledgerTest.class.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/unit-test/include/class/acc_ledgerTest.class.php b/unit-test/include/class/acc_ledgerTest.class.php index 1c91653d3..8429f8cda 100644 --- a/unit-test/include/class/acc_ledgerTest.class.php +++ b/unit-test/include/class/acc_ledgerTest.class.php @@ -847,8 +847,8 @@ class Acc_LedgerTest extends TestCase 'jrn_def_pj_pref'=>'TT/', 'min_row'=>5, 'p_description'=>'LEDGER UNIT TEST', - 'jrn_def_negative_amount'=>0, - 'jrn_def_negative_warning'=>'Warning']; + 'negative_amount'=>0, + 'negative_warning'=>'Warning']; $this->object->save_new($array); @@ -874,7 +874,9 @@ class Acc_LedgerTest extends TestCase 'p_jrn_type'=>'ODS', 'jrn_def_pj_pref'=>'TT/', 'min_row'=>5, - 'p_description'=>'LEDGER UNIT TEST']; + 'p_description'=>'LEDGER UNIT TEST', + 'negative_amount'=>0, + 'negative_warning'=>'Warning']; $this->object->save_new($array); $jrn_def_id=$g_connection->get_value("select jrn_def_id from jrn_def where jrn_def_name=$1",[$array['p_jrn_name']]);