Mercurial > hg > nginx-tests
comparison proxy_method.t @ 1251:766bcbb632ee
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 24 Nov 2017 19:58:40 +0300 |
parents | 4240cca68d1d |
children |
comparison
equal
deleted
inserted
replaced
1250:b708848eb49a | 1251:766bcbb632ee |
---|---|
75 'proxy_method from request'); | 75 'proxy_method from request'); |
76 | 76 |
77 like(http_get('/const'), qr/request_method=POST/, | 77 like(http_get('/const'), qr/request_method=POST/, |
78 'proxy_method from constant'); | 78 'proxy_method from constant'); |
79 | 79 |
80 TODO: { | |
81 local $TODO = 'not yet' unless $t->has_version('1.11.6'); | |
82 | |
83 like(http_get('/var?method=POST'), qr/request_method=POST/, | 80 like(http_get('/var?method=POST'), qr/request_method=POST/, |
84 'proxy_method from variable'); | 81 'proxy_method from variable'); |
85 | |
86 } | |
87 | 82 |
88 like(http_get('/parent/child'), qr/request_method=POST/, | 83 like(http_get('/parent/child'), qr/request_method=POST/, |
89 'proxy_method from parent'); | 84 'proxy_method from parent'); |
90 | 85 |
91 ############################################################################### | 86 ############################################################################### |