Mercurial > hg > nginx-tests
diff proxy_cache_valid.t @ 1381:97c8280de681
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 08 Oct 2018 15:30:39 +0300 |
parents | 66426ca24671 |
children |
line wrap: on
line diff
--- a/proxy_cache_valid.t +++ b/proxy_cache_valid.t @@ -106,26 +106,16 @@ like(get('/t2.html', 'X-CC: max-age=1'), $t->write_file('t2.html', 'NOOP'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.13.6'); - like(http_get('/t2.html'), qr/403 Forbidden/, 'error cached from max-age'); -} - # ticket #1382, cache item "error" field was set regardless of u->cacheable. like(http_get('/'), qr/403 Forbidden/, 'error no-cache'); $t->write_file('index.html', ''); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.13.6'); - like(http_get('/'), qr/200 OK/, 'error no-cache - not cacheable'); -} - ############################################################################### sub get {