temporary fix for this until we get cookies hacked into the test suite
This commit is contained in:
parent
c44accdfa9
commit
425d81d3fb
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ my $session = WebGUI::Test->session;
|
||||||
|
|
||||||
# put your tests here
|
# put your tests here
|
||||||
|
|
||||||
|
$session->{_request} = undef;
|
||||||
|
|
||||||
$session->setting->set("specialState", "upgrading");
|
$session->setting->set("specialState", "upgrading");
|
||||||
isnt(WebGUI::Content::Maintenance::handler($session), undef, "Maintenance should return some output when in upgrade special state");
|
isnt(WebGUI::Content::Maintenance::handler($session), undef, "Maintenance should return some output when in upgrade special state");
|
||||||
$session->setting->set("specialState", "degrading");
|
$session->setting->set("specialState", "degrading");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue