Remove getStatus and setStatus in Session::Http, and replace them with status, from $session->status.
This commit is contained in:
parent
b830bd8e71
commit
e5adc07a05
27 changed files with 88 additions and 129 deletions
|
|
@ -482,10 +482,10 @@ cmp_bag(
|
|||
#
|
||||
####################################################
|
||||
|
||||
$session->http->setStatus(413);
|
||||
$session->response->status(413);
|
||||
is($fileStore->addFileFromFormPost(), '', 'addFileFromFormPost returns empty string when HTTP status is 413');
|
||||
|
||||
$session->http->setStatus(200);
|
||||
$session->response->status(200);
|
||||
$session->request->upload('files', []);
|
||||
my $formStore = WebGUI::Storage->create($session);
|
||||
addToCleanup($formStore);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue