Revision d301d97a
Von Jan Büren vor mehr als 8 Jahren hinzugefügt
t/bank/bank_transactions.t | ||
---|---|---|
use Test::More tests => 74;
|
||
use Test::More tests => 75;
|
||
|
||
use strict;
|
||
|
||
... | ... | |
save_btcontroller_to_string();
|
||
|
||
$invoice->load;
|
||
$bt->load;
|
||
|
||
is($invoice->amount , '-23.80000', "$testname: amount ok");
|
||
is($invoice->netamount, '-20.00000', "$testname: netamount ok");
|
||
is($invoice->paid , '-23.80000', "$testname: paid ok");
|
||
is($bt->invoice_amount, '23.80000', "$testname: bt invoice amount for ap was assigned");
|
||
|
||
return $invoice;
|
||
};
|
Auch abrufbar als: Unified diff
Test: Lieferantengutschrift verbuchen, auch die Gegenseite Banktransaktion prüfen
Die Zahlung wurde korrekt gebucht, allerdings erwartet kivitendo jetzt auch
Änderungen in der bank_transactions invoice_amount, in anderen Testfällen
(test1) wird diese auch überprüft.