From c17fb68abd909a0fe0bd235cf68d2fa6cc87826e Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Thu, 29 Sep 2022 14:38:59 +0200 Subject: [PATCH] Fix renameed agentManager => agentStore in remaining UT --- .../core-metrics-server-internal/src/metrics_service.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/metrics/core-metrics-server-internal/src/metrics_service.test.ts b/packages/core/metrics/core-metrics-server-internal/src/metrics_service.test.ts index 13fb69ad40be6..351e2aca43f56 100644 --- a/packages/core/metrics/core-metrics-server-internal/src/metrics_service.test.ts +++ b/packages/core/metrics/core-metrics-server-internal/src/metrics_service.test.ts @@ -52,7 +52,7 @@ describe('MetricsService', () => { expect(OpsMetricsCollector).toHaveBeenCalledTimes(1); expect(OpsMetricsCollector).toHaveBeenCalledWith( httpMock.server, - esServiceMock.agentManager, + esServiceMock.agentStore, expect.objectContaining({ logger: logger.get('metrics') }) );