Skip to content

Commit

Permalink
Tests: adjusted request body TODOs for HTTP/2
Browse files Browse the repository at this point in the history
See the following issue for details:
#163
  • Loading branch information
defanator committed Jan 14, 2021
1 parent 22e53ab commit 3f016fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/modsecurity-request-body-h2.t
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ is($frame->{headers}->{':status'}, 403, "${method} request body limit process pa
}

TODO: {
local $TODO = 'not yet';
# https://github.com/SpiderLabs/ModSecurity-nginx/issues/163
# https://github.com/nginx/nginx/commit/6c89d752c8ab3a3cc0832927484808b68153f8c4
local $TODO = 'not yet' unless $t->has_version('1.19.3');

$s = Test::Nginx::HTTP2->new();
$sid = $s->new_stream({ method => 'POST', path => '/useauth', 'body' => 'BODY' x 16 });
Expand Down

0 comments on commit 3f016fc

Please sign in to comment.