Skip to content

Commit

Permalink
hotfix(tests) initialize global kong for PDK based plugins (#5130)
Browse files Browse the repository at this point in the history
Fix build error triggered by update of response-transformer plugin.
  • Loading branch information
hishamhm authored Oct 15, 2019
1 parent 062bae8 commit 20a7575
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/01-unit/01-db/01-schema/07-plugins_spec.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "spec.helpers" -- initializes 'kong' global for plugins
local Entity = require "kong.db.schema.entity"
local typedefs = require "kong.db.schema.typedefs"
local utils = require "kong.tools.utils"
Expand Down
1 change: 1 addition & 0 deletions spec/01-unit/12-plugins_order_spec.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "spec.helpers" -- initializes 'kong' global for plugins
local conf_loader = require "kong.conf_loader"


Expand Down
1 change: 1 addition & 0 deletions spec/01-unit/13-plugins_version_spec.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "spec.helpers" -- initializes 'kong' global for plugins
local conf_loader = require "kong.conf_loader"


Expand Down

0 comments on commit 20a7575

Please sign in to comment.