diff --git a/spec/03-plugins/15-response-transformer/01-header_transformer_spec.lua b/spec/03-plugins/15-response-transformer/01-header_transformer_spec.lua index 9fb96f83936..71fc23fed87 100644 --- a/spec/03-plugins/15-response-transformer/01-header_transformer_spec.lua +++ b/spec/03-plugins/15-response-transformer/01-header_transformer_spec.lua @@ -25,12 +25,11 @@ describe("Plugin: response-transformer", function() headers_sent = false, resp = { }, - config = { - subsystem = "http", - }, + config = ngx.config, ctx = { KONG_PHASE = 0x00000200, }, + re = ngx.re, } _G.ngx.DEBUG = 8