comparison auth_request_satisfy.t @ 397:847ea345becb

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 05 May 2014 11:46:01 +0400
parents e102fc6db946
children b86c05516e65
comparison
equal deleted inserted replaced
396:5eb0df61f371 397:847ea345becb
131 like(http_get('/any/deny+unauthorized'), qr/ 401 /, 'any deny+unauthorized'); 131 like(http_get('/any/deny+unauthorized'), qr/ 401 /, 'any deny+unauthorized');
132 like(http_get('/any/deny+forbidden'), qr/ 403 /, 'any deny+forbidden'); 132 like(http_get('/any/deny+forbidden'), qr/ 403 /, 'any deny+forbidden');
133 133
134 like(http_get('/any/basic+open'), qr/ 404 /, 'any basic+open'); 134 like(http_get('/any/basic+open'), qr/ 404 /, 'any basic+open');
135 like(http_get('/any/basic+unauthorized'), qr/ 401 /, 'any basic+unauthorized'); 135 like(http_get('/any/basic+unauthorized'), qr/ 401 /, 'any basic+unauthorized');
136
137 TODO: {
138 local $TODO = 'not yet, ticket 285' unless $t->has_version('1.5.7');
139
140 like(http_get('/any/basic+forbidden'), qr/ 401 /, 'any basic+forbidden'); 136 like(http_get('/any/basic+forbidden'), qr/ 401 /, 'any basic+forbidden');
141 137
142 }
143
144 ############################################################################### 138 ###############################################################################