Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f092c54a

Von Sven Schöling vor etwa 8 Jahren hinzugefügt

  • ID f092c54afc760f00b1311ac764790dd84b1c8328
  • Vorgänger d0f42fe7
  • Nachfolger 351de256

tests: Warnungen

Unterschiede anzeigen:

t/part/assortment.t
19 19

  
20 20
is( SL::DB::Manager::Part->get_all_count(), 11,  "total number of parts created is 11");
21 21

  
22
my $assortment = SL::DB::Manager::Part->find_by( partnumber => 'aso1' ) or die "Can't find assortment with partnumber aso1";
22
$assortment = SL::DB::Manager::Part->find_by( partnumber => 'aso1' ) or die "Can't find assortment with partnumber aso1";
23 23

  
24 24
is($assortment->part_type,                  'assortment', 'assortment has correct part_type');
25 25
is(scalar @{$assortment->assortment_items},  10,          'assortment has 10 parts');

Auch abrufbar als: Unified diff