we now cache the requested URL inside the session, fix it for tests
This commit is contained in:
parent
61eff5be0c
commit
bf75ed1615
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ my $output = WebGUI::Content::SiteIndex::handler($session);
|
||||||
is $output, undef, 'no content returned unless sitemap.xml is requested';
|
is $output, undef, 'no content returned unless sitemap.xml is requested';
|
||||||
|
|
||||||
$session->request->env->{PATH_INFO} = '/sitemap.xml';
|
$session->request->env->{PATH_INFO} = '/sitemap.xml';
|
||||||
|
delete $session->url->{_requestedUrl};
|
||||||
$output = WebGUI::Content::SiteIndex::handler($session);
|
$output = WebGUI::Content::SiteIndex::handler($session);
|
||||||
my $xmlData = XMLin($output,
|
my $xmlData = XMLin($output,
|
||||||
KeepRoot => 1,
|
KeepRoot => 1,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue