From: Sven Schöling Date: Wed, 23 Nov 2016 09:16:51 +0000 (+0100) Subject: tests: Warnungen X-Git-Tag: release-3.5.4~1863 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f092c54afc760f00b1311ac764790dd84b1c8328;p=kivitendo-erp.git tests: Warnungen --- diff --git a/t/part/assortment.t b/t/part/assortment.t index e67afe82a..82d5897de 100644 --- a/t/part/assortment.t +++ b/t/part/assortment.t @@ -19,7 +19,7 @@ my $assortment = SL::Dev::Part::create_assortment( partnumber => 'aso1', is( SL::DB::Manager::Part->get_all_count(), 11, "total number of parts created is 11"); -my $assortment = SL::DB::Manager::Part->find_by( partnumber => 'aso1' ) or die "Can't find assortment with partnumber aso1"; +$assortment = SL::DB::Manager::Part->find_by( partnumber => 'aso1' ) or die "Can't find assortment with partnumber aso1"; is($assortment->part_type, 'assortment', 'assortment has correct part_type'); is(scalar @{$assortment->assortment_items}, 10, 'assortment has 10 parts');