From 425d81d3fb8bee9020f6913a017fcdf6f3f5c6b9 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sun, 10 Feb 2008 04:08:54 +0000 Subject: [PATCH] temporary fix for this until we get cookies hacked into the test suite --- t/Content/Maintenance.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/Content/Maintenance.t b/t/Content/Maintenance.t index 1deb8e9a0..7fb875d58 100644 --- a/t/Content/Maintenance.t +++ b/t/Content/Maintenance.t @@ -23,6 +23,8 @@ my $session = WebGUI::Test->session; # put your tests here +$session->{_request} = undef; + $session->setting->set("specialState", "upgrading"); isnt(WebGUI::Content::Maintenance::handler($session), undef, "Maintenance should return some output when in upgrade special state"); $session->setting->set("specialState", "degrading");