From: Sven Schöling Date: Mon, 26 Sep 2016 09:38:58 +0000 (+0200) Subject: convert_invoice.t: purchase invoices vor parts aufräumen X-Git-Tag: release-3.5.4~2014 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9be660e801e2eba031ca715fb5b977ed78bf0385;p=kivitendo-erp.git convert_invoice.t: purchase invoices vor parts aufräumen --- diff --git a/t/db_helper/convert_invoice.t b/t/db_helper/convert_invoice.t index bfc538b29..abc3d8494 100644 --- a/t/db_helper/convert_invoice.t +++ b/t/db_helper/convert_invoice.t @@ -30,7 +30,7 @@ my ($customer, $currency_id, $buchungsgruppe, $employee, $vendor, $taxzone, $buc my $VISUAL_TEST = 0; # just a sleep to click around sub clear_up { - foreach (qw(DeliveryOrderItem DeliveryOrder InvoiceItem Invoice Part Customer Vendor Department PaymentTerm)) { + foreach (qw(DeliveryOrderItem DeliveryOrder InvoiceItem PurchaseInvoice Invoice Part Customer Vendor Department PaymentTerm)) { "SL::DB::Manager::${_}"->delete_all(all => 1); } SL::DB::Manager::Employee->delete_all(where => [ id => 31915 ]);