From d548dff32c9ea50eec89cb2091de1fde7500ba11 Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Wed, 31 Mar 2021 10:25:38 +0800 Subject: [PATCH] tests/system: adapt to new API response In https://github.com/elastic/kibana/pull/95146 the response structure for listing APM agent central config changed. Update system tests to match. --- tests/system/kibana.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/kibana.py b/tests/system/kibana.py index d84706d4b1e..7baa7b5f4c5 100644 --- a/tests/system/kibana.py +++ b/tests/system/kibana.py @@ -61,7 +61,7 @@ def list_agent_config(self): } ) assert resp.status_code == 200, resp.status_code - return resp.json() + return resp.json()['configurations'] def delete_agent_config(self, service, env=None): data = {