fixed tests
This commit is contained in:
parent
18460256df
commit
d0a5cc8d66
9 changed files with 14 additions and 5 deletions
|
|
@ -66,7 +66,8 @@ is($sku->getConfiguredTitle, $sku->getTitle, "configured title and title should
|
|||
is($sku->shipsSeparately, 0, 'shipsSeparately return 0 by default');
|
||||
|
||||
$sku->update({shipsSeparately => 1,});
|
||||
is($sku->shipsSeparately, 1, '... tracks shipsSepartely sku property');
|
||||
$sku->update({isShippingRequired => 1,});
|
||||
is($sku->shipsSeparately, 1, 'shipsSeparately only returns true when isShippingRequired and shipsSeparately');
|
||||
|
||||
isa_ok($sku->getCart, "WebGUI::Shop::Cart", "can get a cart object");
|
||||
my $item = $sku->addToCart;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue