You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/12/05 12:33:20 UTC
[apisix] branch master updated: test: we don't need to check the response of http://apisix.apache.org (#5699)
This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 319f620 test: we don't need to check the response of http://apisix.apache.org (#5699)
319f620 is described below
commit 319f6208ba699ac3f353318dd55664376d48314d
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Sun Dec 5 20:33:16 2021 +0800
test: we don't need to check the response of http://apisix.apache.org (#5699)
---
t/misc/patch.t | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/t/misc/patch.t b/t/misc/patch.t
index b479f07..a735126 100644
--- a/t/misc/patch.t
+++ b/t/misc/patch.t
@@ -144,13 +144,13 @@ apisix:
ngx.log(ngx.ERR, err)
return
end
- ngx.say(res.status)
+ ngx.say("ok")
}
}
--- request
GET /t
--- response_body
-200
+ok
@@ -176,11 +176,11 @@ apisix:
ngx.log(ngx.ERR, err)
return ngx.exit(-1)
end
- sock:send(res.status)
+ sock:send("ok")
}
--- stream_request eval
m
---- stream_response: 200
+--- stream_response: ok
--- no_error_log
[error]