Skip to content

Commit

Permalink
fix(plugin/ldap) updated LDAP test server endpoint (Kong#2039)
Browse files Browse the repository at this point in the history
  • Loading branch information
shashiranjan84 authored and Tieske committed Feb 10, 2017
1 parent 4a1c600 commit a97d229
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/03-plugins/08-ldap-auth/01-access_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local helpers = require "spec.helpers"

describe("Plugin: ldap-auth (access)", function()
local client, client_admin, api2, plugin2

local ldap_host_aws = "ec2-54-172-82-117.compute-1.amazonaws.com"
setup(function()
local api1 = assert(helpers.dao.apis:insert {
name = "test-ldap",
Expand All @@ -25,7 +25,7 @@ describe("Plugin: ldap-auth (access)", function()
api_id = api1.id,
name = "ldap-auth",
config = {
ldap_host = "ec2-54-210-29-167.compute-1.amazonaws.com",
ldap_host = ldap_host_aws,
ldap_port = "389",
start_tls = false,
base_dn = "ou=scientists,dc=ldap,dc=mashape,dc=com",
Expand All @@ -36,7 +36,7 @@ describe("Plugin: ldap-auth (access)", function()
api_id = api2.id,
name = "ldap-auth",
config = {
ldap_host = "ec2-54-210-29-167.compute-1.amazonaws.com",
ldap_host = ldap_host_aws,
ldap_port = "389",
start_tls = false,
base_dn = "ou=scientists,dc=ldap,dc=mashape,dc=com",
Expand All @@ -49,7 +49,7 @@ describe("Plugin: ldap-auth (access)", function()
api_id = api3.id,
name = "ldap-auth",
config = {
ldap_host = "ec2-54-210-29-167.compute-1.amazonaws.com",
ldap_host = ldap_host_aws,
ldap_port = "389",
start_tls = false,
base_dn = "ou=scientists,dc=ldap,dc=mashape,dc=com",
Expand Down

0 comments on commit a97d229

Please sign in to comment.