From 7495dc8338450588ba2932038c705490e85aa2f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Thu, 27 Jan 2022 11:53:41 +0100 Subject: [PATCH] Kosmetik: Inventory-Test --- t/controllers/csvimport/inventory.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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"; -- 2.20.1