Revision e61683c0
t/db_helper/payment.t | ||
---|---|---|
1698 | 1698 |
is($invoice2->within_skonto_period(transdate => DateTime->now()->add(days => 1)), 1, "one day after invdate is skontoable"); |
1699 | 1699 |
is($invoice2->within_skonto_period(transdate => DateTime->now()->add(days => 4)), 1, "four days after invdate is skontoable"); |
1700 | 1700 |
|
1701 |
is($invoice2->within_skonto_period(transdate => DateTime->now()->add(days => 6)), ''); # not within skonto period
|
|
1701 |
is($invoice2->within_skonto_period(transdate => DateTime->now()->add(days => 6)), '', 'not within skonto period');
|
|
1702 | 1702 |
|
1703 | 1703 |
} |
1704 | 1704 |
|
Auch abrufbar als: Unified diff
Testfälle sauber benennen