aboutsummaryrefslogtreecommitdiff
path: root/nginx/t/js_fetch_objects.t
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2025-05-19 18:53:00 -0700
committerDmitry Volyntsev <xeioexception@gmail.com>2025-05-22 16:54:29 -0700
commita340ad8f7d9bd5ee1bfb7e6d76f56e845fe002f3 (patch)
tree099959da8f86519d1e1b9310c6627c1f60e13097 /nginx/t/js_fetch_objects.t
parent95ea07b6553227638c9727f52dae99e94b08962a (diff)
downloadnjs-a340ad8f7d9bd5ee1bfb7e6d76f56e845fe002f3.tar.gz
njs-a340ad8f7d9bd5ee1bfb7e6d76f56e845fe002f3.zip
Tests: removed leftover engine checks.
Diffstat (limited to 'nginx/t/js_fetch_objects.t')
-rw-r--r--nginx/t/js_fetch_objects.t10
1 files changed, 1 insertions, 9 deletions
diff --git a/nginx/t/js_fetch_objects.t b/nginx/t/js_fetch_objects.t
index bc5cc7ed..c9d04c49 100644
--- a/nginx/t/js_fetch_objects.t
+++ b/nginx/t/js_fetch_objects.t
@@ -45,10 +45,6 @@ http {
js_content test.njs;
}
- location /engine {
- js_content test.engine;
- }
-
location /headers {
js_content test.headers;
}
@@ -92,10 +88,6 @@ $t->write_file('test.js', <<EOF);
r.return(200, njs.version);
}
- function engine(r) {
- r.return(200, njs.engine);
- }
-
function header(r) {
r.return(200, r.headersIn.a);
}
@@ -528,7 +520,7 @@ $t->write_file('test.js', <<EOF);
run(r, tests);
}
- export default {njs: test_njs, engine, body, headers, request, response,
+ export default {njs: test_njs, body, headers, request, response,
fetch, fetch_multi_header};
EOF