document object mocking
This commit is contained in:
parent
8142321a52
commit
204046d283
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ my $http = $session->http;
|
||||||
|
|
||||||
use Test::MockObject::Extends;
|
use Test::MockObject::Extends;
|
||||||
|
|
||||||
|
##This tests mocks http's getCookies so that it doesn't have to
|
||||||
|
##try and implement the mod_perl cookie handling code.
|
||||||
$http = Test::MockObject::Extends->new($http);
|
$http = Test::MockObject::Extends->new($http);
|
||||||
my $cookieName = $session->config->getCookieName;
|
my $cookieName = $session->config->getCookieName;
|
||||||
my $varId = $session->var->getId();
|
my $varId = $session->var->getId();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue