Temporary fix for File.t. This test should be rewritten to use
WebGUI::PseudoRequest (I think).
This commit is contained in:
parent
473cef2483
commit
16eaf6d434
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ $versionTag->commit;
|
|||
############################################
|
||||
|
||||
my $fileStorage = WebGUI::Storage->create($session);
|
||||
$mocker->set_always('getValueFromPost', $fileStorage->getId);
|
||||
$mocker->set_always('getValue', $fileStorage->getId);
|
||||
my $fileFormStorage = $asset->getStorageFromPost();
|
||||
isa_ok($fileFormStorage, 'WebGUI::Storage', 'Asset::File::getStorageFromPost');
|
||||
isnt(ref $fileFormStorage, 'WebGUI::Storage::Image', 'getStorageFromPost does not return an image storage object');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue