From 49daf6415a0002030783e5c4c7cd8e11573fe42d Mon Sep 17 00:00:00 2001 From: sb-cecilialiu Date: Tue, 26 Nov 2024 09:08:26 -0600 Subject: [PATCH] MAT-6401 gitleak --- .../gov/madie/measure/services/ElmTranslatorClientTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/cms/gov/madie/measure/services/ElmTranslatorClientTest.java b/src/test/java/cms/gov/madie/measure/services/ElmTranslatorClientTest.java index 048caaef..96568820 100644 --- a/src/test/java/cms/gov/madie/measure/services/ElmTranslatorClientTest.java +++ b/src/test/java/cms/gov/madie/measure/services/ElmTranslatorClientTest.java @@ -52,7 +52,7 @@ void beforeEach() { .thenReturn("/cql/translator/cql"); } - private final String HEADER_APIKEY = "api-key"; + private final String HEADER_1 = "api-key"; @Test void testRestTemplateHandlesClientErrorException() { @@ -147,9 +147,9 @@ void testQiCoreGetElmJsonURI() { @Test void testGetCqlHttpEntity() { HttpEntity httpEntity = - elmTranslatorClient.getCqlHttpEntity("test cql", null, HEADER_APIKEY + "1", "HARP_ID1"); + elmTranslatorClient.getCqlHttpEntity("test cql", null, HEADER_1 + "1", "HARP_ID1"); HttpHeaders headers = httpEntity.getHeaders(); - assertEquals(headers.get(HEADER_APIKEY).get(0), HEADER_APIKEY + "1"); + assertEquals(headers.get(HEADER_1).get(0), HEADER_1 + "1"); assertEquals(headers.get("harp-id").get(0), "HARP_ID1"); } }