Update test for new testing API for assethelpers.
This commit is contained in:
parent
82bb59d40e
commit
5a11540e1c
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue