diff --git a/t/Content/SiteIndex.t b/t/Content/SiteIndex.t index f03611e13..bccf23c6e 100644 --- a/t/Content/SiteIndex.t +++ b/t/Content/SiteIndex.t @@ -27,6 +27,7 @@ my $output = WebGUI::Content::SiteIndex::handler($session); is $output, undef, 'no content returned unless sitemap.xml is requested'; $session->request->env->{PATH_INFO} = '/sitemap.xml'; +delete $session->url->{_requestedUrl}; $output = WebGUI::Content::SiteIndex::handler($session); my $xmlData = XMLin($output, KeepRoot => 1,