diff js_internal_redirect.t @ 1614:bc0990ea2e5b

Tests: js TODO adjusted up to 0.4.0.
author Dmitry Volyntsev <xeioex@nginx.com>
date Tue, 17 Nov 2020 17:49:16 +0000
parents a7902e5adeab
children 18ac4d9e5a2a
line wrap: on
line diff
--- a/js_internal_redirect.t
+++ b/js_internal_redirect.t
@@ -41,10 +41,6 @@ http {
         listen       127.0.0.1:8080;
         server_name  localhost;
 
-        location /njs {
-            js_content test_njs;
-        }
-
         location /test {
             js_content test_redirect;
         }
@@ -63,10 +59,6 @@ http {
 EOF
 
 $t->write_file('test.js', <<EOF);
-    function test_njs(r) {
-        r.return(200, njs.version);
-    }
-
     function test_redirect(r) {
         if (r.variables.arg_dest == 'named') {
             r.internalRedirect('\@named');