Add tests to check how getThumbnailUrl is supposed to work in the Product.
Then fix the bugs I added to it yesterday.
This commit is contained in:
parent
2dac29bce5
commit
14724cbbef
5 changed files with 57 additions and 7 deletions
|
|
@ -41,9 +41,9 @@ plan tests => 33; # Increment this number for each test you create
|
|||
# put your tests here
|
||||
my $root = WebGUI::Asset->getRoot($session);
|
||||
my $product = $root->addChild({
|
||||
className => "WebGUI::Asset::Sku::Product",
|
||||
title => "Rock Hammer",
|
||||
});
|
||||
className => "WebGUI::Asset::Sku::Product",
|
||||
title => "Rock Hammer",
|
||||
});
|
||||
isa_ok($product, "WebGUI::Asset::Sku::Product");
|
||||
ok(! exists $product->{_collateral}, 'object cache does not exist yet');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue