Skip to content

Commit

Permalink
tests(config) expose KONG_SPEC_TEST_CONF_PATH env (#5382)
Browse files Browse the repository at this point in the history
* Expose TEST_CONF_PATH env
* Update spec/helpers.lua
  • Loading branch information
sayboras authored and hishamhm committed Jan 13, 2020
1 parent 45ec6e2 commit 6ddc357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-- @module spec.helpers

local BIN_PATH = "bin/kong"
local TEST_CONF_PATH = "spec/kong_tests.conf"
local TEST_CONF_PATH = os.getenv("KONG_SPEC_TEST_CONF_PATH") or "spec/kong_tests.conf"
local CUSTOM_PLUGIN_PATH = "./spec/fixtures/custom_plugins/?.lua"
local MOCK_UPSTREAM_PROTOCOL = "http"
local MOCK_UPSTREAM_SSL_PROTOCOL = "https"
Expand Down

0 comments on commit 6ddc357

Please sign in to comment.