diff --git a/spec/02-integration/04-admin_api/24-reconfiguration-completion_spec.lua b/spec/02-integration/04-admin_api/24-reconfiguration-completion_spec.lua index 9f528c4bb46..c3c70775e3a 100644 --- a/spec/02-integration/04-admin_api/24-reconfiguration-completion_spec.lua +++ b/spec/02-integration/04-admin_api/24-reconfiguration-completion_spec.lua @@ -10,22 +10,10 @@ describe("Admin API - Reconfiguration Completion -", function() local function run_tests() - local res = admin_client:post("/plugins", { - body = { - name = "request-termination", - config = { - status_code = 200, - body = "kong terminated the request", - } - }, - headers = { ["Content-Type"] = "application/json" }, - }) - assert.res_status(201, res) - - res = admin_client:post("/services", { + local res = admin_client:post("/services", { body = { name = "test-service", - url = "http://127.0.0.1", + url = "http://example.com", }, headers = { ["Content-Type"] = "application/json" }, }) @@ -79,8 +67,7 @@ describe("Admin API - Reconfiguration Completion -", function() ["X-If-Kong-Transaction-Id"] = kong_transaction_id } }) - body = assert.res_status(200, res) - assert.equals("kong terminated the request", body) + assert.res_status(200, res) end) .has_no_error() end