noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 104/107: 0001728: Aide à l'encodage - Journa


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 104/107: 0001728: Aide à l'encodage - Journaux négatifs (note de crédit) Unit test
Date: Mon, 26 Aug 2019 10:32:10 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit acd7b405f7db75813816842d0e78688cee874a89
Author: Dany De Bontridder <address@hidden>
Date:   Mon Aug 26 15:13:06 2019 +0200

    0001728: Aide à l'encodage - Journaux négatifs (note de crédit)
    Unit test
---
 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 1c91653..8429f8c 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']]);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]