Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ac168eeb

Von Jan Büren vor mehr als 1 Jahr hinzugefügt

Testfall zu #605 datepaid im Nebenbuch auf null setzen

Unterschiede anzeigen:

t/bank/bank_transactions.t
1
use Test::More tests => 399;
1
use Test::More tests =>402;
2 2

  
3 3
use strict;
4 4

  
......
703 703
  is (ref $rl->[0], '', "$testname record link removed");
704 704
  # double safety and check ar.paid
705 705
  # load all three invoices and check for paid-link via acc_trans and paid in general
706

  
707 706
  $ar_transaction->load;
708 707
  $ar_transaction_2->load;
709 708
  $ar_transaction_skonto->load;
......
722 721
  is($ar_transaction_2->paid , '0.00000' , "$testname: 'salesinv 2 fully unpaid");
723 722
  is($ar_transaction_skonto->paid , '0.00000' , "$testname: 'salesinv skonto fully unpaid");
724 723

  
724
  is($ar_transaction_skonto->datepaid, undef, "$testname: 'salesinv skonto no date paid");
725
  is($ar_transaction_2->datepaid,      undef, "$testname: 'salesinv 2 no date paid");
726
  is($ar_transaction->datepaid ,       undef, "$testname: 'salesinv no date paid");
727

  
725 728
  # whew. w(h)a(n)t a whole lotta test
726 729
}
727 730

  

Auch abrufbar als: Unified diff