From bf75ed1615237c7f81f26f4ee495b665e531a186 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Thu, 5 May 2011 19:35:49 -0500 Subject: [PATCH] we now cache the requested URL inside the session, fix it for tests --- t/Content/SiteIndex.t | 1 + 1 file changed, 1 insertion(+) 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,