fixing some bugs

This commit is contained in:
JT Smith 2008-02-25 21:13:11 +00:00
parent 920b36d728
commit 26d708a56b
4 changed files with 5 additions and 3 deletions

View file

@ -42,9 +42,8 @@ isa_ok($cart->session, "WebGUI::Session");
my $root = WebGUI::Asset->getRoot($session);
my $product = $root->addChild($session, {
className=>"WebGUI::Asset::Sku::Product",
className=>"WebGUI::Asset::Sku",
title=>"Test Product",
price=>4.99
});
$cart->addItem($product, 1);