Skip to content

Commit

Permalink
Update test for new testing API for assethelpers.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Oct 19, 2011
1 parent 82bb59d commit 5a11540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/AssetHelper/Product/ImportCSV.t
Expand Up @@ -83,7 +83,7 @@ SKIP: {

chmod oct(0000), $productsTempFile;

eval { $shelf->importProducts($process, { assetId => $helper->asset->getId, filePath => $productsTempFile } ); };
eval { $importProducts->($process, { assetId => $helper->asset->getId, filePath => $productsTempFile } ); };
$e = Exception::Class->caught();
isa_ok($e, 'WebGUI::Error::InvalidFile', 'importProducts: error handling for file that cannot be read') || skip 'invalid error thrown', 2;
is($e->error, 'File is not readable', 'importProducts: error handling for file that that cannot be read');
Expand Down

0 comments on commit 5a11540

Please sign in to comment.