projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d0f42fe
)
tests: Warnungen
author
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 23 Nov 2016 09:16:51 +0000
(10:16 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 23 Nov 2016 09:16:51 +0000
(10:16 +0100)
t/part/assortment.t
patch
|
blob
|
history
diff --git
a/t/part/assortment.t
b/t/part/assortment.t
index
e67afe8
..
82d5897
100644
(file)
--- 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");
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');
is($assortment->part_type, 'assortment', 'assortment has correct part_type');
is(scalar @{$assortment->assortment_items}, 10, 'assortment has 10 parts');