aboutsummaryrefslogtreecommitdiff
path: root/nginx/t/js_fetch.t
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/t/js_fetch.t')
-rw-r--r--nginx/t/js_fetch.t10
1 files changed, 1 insertions, 9 deletions
diff --git a/nginx/t/js_fetch.t b/nginx/t/js_fetch.t
index 7ee1a602..1c6fde77 100644
--- a/nginx/t/js_fetch.t
+++ b/nginx/t/js_fetch.t
@@ -52,10 +52,6 @@ http {
js_content test.njs;
}
- location /engine {
- js_content test.engine;
- }
-
location /broken {
js_content test.broken;
}
@@ -138,10 +134,6 @@ $t->write_file('test.js', <<EOF);
r.return(200, njs.version);
}
- function engine(r) {
- r.return(200, njs.engine);
- }
-
function body(r) {
var loc = r.args.loc;
var getter = r.args.getter;
@@ -408,7 +400,7 @@ $t->write_file('test.js', <<EOF);
export default {njs: test_njs, body, broken, broken_response, body_special,
chain, chunked_ok, chunked_fail, header, header_iter,
- host_header, multi, loc, property, engine};
+ host_header, multi, loc, property};
EOF
$t->try_run('no njs.fetch');