fixing some bugs
This commit is contained in:
parent
920b36d728
commit
26d708a56b
4 changed files with 5 additions and 3 deletions
|
|
@ -45,7 +45,7 @@ sub createSkuAsset {
|
|||
taxRateOverride float not null default 0.00,
|
||||
primary key (assetId, revisionDate),
|
||||
unique key sku (sku),
|
||||
index vendorId (vendorId)
|
||||
index salesAgentId (salesAgentId)
|
||||
)");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -316,3 +316,4 @@ sub www_view {
|
|||
return "chunked";
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -67,3 +67,5 @@ is($loadSku->getId, $sku->getId, "newBySku() works.");
|
|||
END {
|
||||
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue