Skip to content

Commit 5a11540

Browse files
committedOct 19, 2011
Update test for new testing API for assethelpers.
1 parent 82bb59d commit 5a11540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎t/AssetHelper/Product/ImportCSV.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ SKIP: {
8383

8484
chmod oct(0000), $productsTempFile;
8585

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

0 commit comments

Comments
 (0)
Please sign in to comment.