temporary hack to fix a Test::MockObject related test failure
This commit is contained in:
parent
8d7c31253b
commit
05b33ec3b8
1 changed files with 4 additions and 1 deletions
|
|
@ -14,7 +14,10 @@ use lib "$FindBin::Bin/../../lib";
|
|||
|
||||
use Test::MockObject;
|
||||
my $mocker = Test::MockObject->new();
|
||||
$mocker->fake_module('WebGUI::Form::Image');
|
||||
#$mocker->fake_module('WebGUI::Form::Image', fake_method => sub {return 1;});
|
||||
# XXX
|
||||
# Hack to make this test run. This exact same code works fine for File.t above
|
||||
$mocker->fake_module('WebGUI::Form::Image', fake_method => sub {return 1;});
|
||||
$mocker->fake_new('WebGUI::Form::Image');
|
||||
|
||||
use WebGUI::Test;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue