take advantage of getTestCollateralPath concatenating files to the path for you
This commit is contained in:
parent
227be31be5
commit
b4483947cf
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ is($fileStore->addFileFromFormPost('files'), undef, 'addFileFromFormPost returns
|
|||
|
||||
$session->request->uploadFiles(
|
||||
'oneFile',
|
||||
[ File::Spec->catfile( WebGUI::Test->getTestCollateralPath, qw/WebGUI.pm/) ],
|
||||
[ WebGUI::Test->getTestCollateralPath('WebGUI.pm') ],
|
||||
);
|
||||
is($fileStore->addFileFromFormPost('oneFile'), 'WebGUI.pm', 'Return the name of the uploaded file');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue