Mercurial > hg > nginx-tests
changeset 1544:53ed2231403b
Tests: js TODO adjusted.
author | Dmitry Volyntsev <xeioex@nginx.com> |
---|---|
date | Thu, 16 Jan 2020 19:15:25 +0300 |
parents | 0b97d431571f |
children | cde406e61e48 |
files | js_subrequests.t stream_js.t stream_js_variables.t |
diffstat | 3 files changed, 0 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/js_subrequests.t Thu Jan 16 19:15:24 2020 +0300 +++ b/js_subrequests.t Thu Jan 16 19:15:25 2020 +0300 @@ -432,15 +432,7 @@ is(get_json('/sr_args'), '{"h":"xxx"}', 'sr_args'); is(get_json('/sr_options_args'), '{"h":"xxx"}', 'sr_options_args'); is(get_json('/sr_options_method?m=POST'), '["POST"]', 'sr method POST'); - -TODO: { -local $TODO = 'not yet' - unless http_get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.3.3'; - is(get_json('/sr_options_method?m=PURGE'), '["PURGE"]', 'sr method PURGE'); - -} - is(get_json('/sr_options_body'), '["REQ-BODY"]', 'sr_options_body'); is(get_json('/sr_options_method_head'), '{"c":200,"s":0}', 'sr_options_method_head');
--- a/stream_js.t Thu Jan 16 19:15:24 2020 +0300 +++ b/stream_js.t Thu Jan 16 19:15:25 2020 +0300 @@ -367,10 +367,6 @@ is(stream('127.0.0.1:' . port(8083))->read(), '', 'stream js unknown function'); is(stream('127.0.0.1:' . port(8084))->read(), 'sess_unk=undefined', 's.unk'); -TODO: { -local $TODO = 'not yet' - unless get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.2.4'; - is(stream('127.0.0.1:' . port(8086))->io('0'), '0122345', 'async handlers order'); is(stream('127.0.0.1:' . port(8087))->io('#'), 'OK', 'js_access_undecided'); @@ -385,8 +381,6 @@ like(get('/p/return'), qr/foo/, 'js_filter_injected_header'); is(stream('127.0.0.1:' . port(8096))->io('x'), 'z', 'js_filter_search'); -} - stream('127.0.0.1:' . port(8097))->io('x'); stream('127.0.0.1:' . port(8098))->io('x'); stream('127.0.0.1:' . port(8099))->io('x');
--- a/stream_js_variables.t Thu Jan 16 19:15:24 2020 +0300 +++ b/stream_js_variables.t Thu Jan 16 19:15:25 2020 +0300 @@ -91,15 +91,9 @@ ############################################################################### -TODO: { -local $TODO = 'not yet' - unless get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.2.8'; - is(stream('127.0.0.1:' . port(8081))->read(), 'test_var400', 'var set'); is(stream('127.0.0.1:' . port(8082))->read(), 'not_found', 'not found set'); -} - $t->stop(); ###############################################################################