Revision 186243bc
Von Sven Schöling vor fast 10 Jahren hinzugefügt
t/db_helper/price_tax_calculator.t | ||
---|---|---|
14 | 14 |
use SL::DB::Buchungsgruppe; |
15 | 15 |
use SL::DB::Currency; |
16 | 16 |
use SL::DB::Customer; |
17 |
use SL::DB::DeliveryOrder; |
|
17 | 18 |
use SL::DB::Employee; |
18 | 19 |
use SL::DB::Invoice; |
20 |
use SL::DB::Order; |
|
19 | 21 |
use SL::DB::Part; |
20 | 22 |
use SL::DB::Unit; |
21 | 23 |
use SL::DB::TaxZone; |
... | ... | |
27 | 29 |
|
28 | 30 |
$params{$_} ||= {} for qw(buchungsgruppe unit customer part tax); |
29 | 31 |
|
32 |
SL::DB::Manager::Order->delete_all(all => 1); |
|
33 |
SL::DB::Manager::DeliveryOrder->delete_all(all => 1); |
|
30 | 34 |
SL::DB::Manager::Invoice->delete_all(all => 1); |
31 | 35 |
SL::DB::Manager::Part->delete_all(all => 1); |
32 | 36 |
SL::DB::Manager::Customer->delete_all(all => 1); |
Auch abrufbar als: Unified diff
Tests: price_tax_calculator.t muss vor Kunden löschen richtig aufräumen