diff options
Diffstat (limited to 'nginx/t/stream_js_fetch.t')
-rw-r--r-- | nginx/t/stream_js_fetch.t | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/nginx/t/stream_js_fetch.t b/nginx/t/stream_js_fetch.t index 9a42ae29..cb87eec7 100644 --- a/nginx/t/stream_js_fetch.t +++ b/nginx/t/stream_js_fetch.t @@ -46,10 +46,6 @@ http { js_content test.njs; } - location /engine { - js_content test.engine; - } - location /validate { js_content test.validate; } @@ -103,10 +99,6 @@ $t->write_file('test.js', <<EOF); r.return(200, njs.version); } - function engine(r) { - r.return(200, njs.engine); - } - function validate(r) { r.return((r.requestText == 'QZ') ? 200 : 403); } @@ -166,7 +158,7 @@ $t->write_file('test.js', <<EOF); } export default {njs: test_njs, validate, preread_verify, filter_verify, - access_ok, access_nok, engine}; + access_ok, access_nok}; EOF $t->try_run('no stream njs available'); |