From: Jan Büren Date: Thu, 27 Jan 2022 10:53:41 +0000 (+0100) Subject: Kosmetik: Inventory-Test X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~232 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7495dc8338450588ba2932038c705490e85aa2f0;p=kivitendo-erp.git Kosmetik: Inventory-Test --- diff --git a/t/controllers/csvimport/inventory.t b/t/controllers/csvimport/inventory.t index 05f8177fe..346b2dcd5 100644 --- a/t/controllers/csvimport/inventory.t +++ b/t/controllers/csvimport/inventory.t @@ -263,9 +263,8 @@ $inv_obj = SL::DB::Manager::Inventory->find_by(trans_id => $trans_id); # we expect one entry for one trans_id is ref $inv_obj, "SL::DB::Inventory", "One inventory object, no array or undef"; -is $inv_obj->qty == 30.35, 1, "Valid qty accepted"; -is $inv_obj->comment, - "Jetzt wirklich", "Valid comment accepted"; +is $inv_obj->qty == 30.35, 1, "Valid qty accepted"; +is $inv_obj->comment, "Jetzt wirklich", "Valid comment accepted"; is $inv_obj->employee_id, 1, "Employee valid"; is ref $inv_obj->shippingdate, 'DateTime', "Valid DateTime for shippingdate"; is $inv_obj->shippingdate, DateTime->today_local, "Default shippingdate set";