From 361299e2936a4326204ca9252453516449850ac9 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 7 May 2010 18:13:31 -0700 Subject: [PATCH] Use the right location for the WebGUI.pm fake file in Storage testing. --- t/Storage.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Storage.t b/t/Storage.t index 37c726f9a..60efc6453 100644 --- a/t/Storage.t +++ b/t/Storage.t @@ -289,7 +289,7 @@ ok (!(-e $storage1->getPath("testfile-hash.file")), "rename file original file i #################################################### $storage1->addFileFromFilesystem( - WebGUI::Test->getTestCollateralPath('WebGUI.pm'), + WebGUI::Test->getTestCollateralPath('International/lib/WebGUI/i18n/PigLatin/WebGUI.pm'), ); ok( @@ -473,7 +473,7 @@ is($formStore->addFileFromFormPost('files'), undef, 'addFileFromFormPost returns $session->request->uploadFiles( 'oneFile', - [ WebGUI::Test->getTestCollateralPath('WebGUI.pm') ], + [ WebGUI::Test->getTestCollateralPath('International/lib/WebGUI/i18n/PigLatin/WebGUI.pm') ], ); is($formStore->addFileFromFormPost('oneFile'), 'WebGUI.pm', '... returns the name of the uploaded file'); cmp_bag($formStore->getFiles, [ qw/WebGUI.pm/ ], '... adds the file to the storage location');