Revision 8cd22643
Von Kivitendo Admin vor etwa 8 Jahren hinzugefügt
t/part/assembly.t | ||
---|---|---|
18 | 18 |
my $assembly_part = SL::DB::Manager::Part->find_by( partnumber => 'as1' ); |
19 | 19 |
my $assembly_item_part = SL::DB::Manager::Part->find_by( partnumber => '19000' ); |
20 | 20 |
|
21 |
is($assembly_part->inventory_accno_id, undef, "assembly doesn't have an inventory accno id"); |
|
22 |
|
|
23 | 21 |
is($assembly_part->part_type, 'assembly', 'assembly has correct type'); |
24 | 22 |
is( scalar @{$assembly_part->assemblies}, 2, 'assembly consists of two parts' ); |
25 | 23 |
|
Auch abrufbar als: Unified diff
Test angepasst nach income_accno_id-Entfernung in parts