Skip to content

Commit 642dca5

Browse files
committed
fix test case (3)
1 parent 4b9901d commit 642dca5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/008-log.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -952,14 +952,14 @@ GET /test
952952
local log = require("resty.kong.log")
953953
log.set_log_level(ngx.DEBUG, 10)
954954
assert(log.get_log_level(ngx.WARN) == ngx.DEBUG)
955-
ngx.exit(200)
955+
ngx.exit(403)
956956
}
957957
}
958958
--- request
959959
GET /test_nginx_debug_log
960960
--- wait: 2
961-
--- error_code: 200
961+
--- error_code: 403
962962
--- error_log eval
963963
[
964-
qr/\[debug\] .*: .* http finalize request: 200, "\/test_nginx_debug_log\?" a:1, c:1/,
964+
qr/\[debug\] .*: .* http finalize request: 403, "\/test_nginx_debug_log\?" a:1, c:1/,
965965
]

0 commit comments

Comments
 (0)