From 148fdf2237dd74cad7f850f0031c0925b5aab8ab Mon Sep 17 00:00:00 2001 From: giomella Date: Tue, 5 Dec 2023 12:25:45 +0100 Subject: [PATCH] [PRDP-267] fix unit test --- .../pdf/helpdesk/client/impl/ReceiptQueueClientImplTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/it/gov/pagopa/receipt/pdf/helpdesk/client/impl/ReceiptQueueClientImplTest.java b/src/test/java/it/gov/pagopa/receipt/pdf/helpdesk/client/impl/ReceiptQueueClientImplTest.java index 69e616c..43db1f3 100644 --- a/src/test/java/it/gov/pagopa/receipt/pdf/helpdesk/client/impl/ReceiptQueueClientImplTest.java +++ b/src/test/java/it/gov/pagopa/receipt/pdf/helpdesk/client/impl/ReceiptQueueClientImplTest.java @@ -20,7 +20,7 @@ void testSingletonConnectionError() throws Exception { @SuppressWarnings("secrets:S6338") String mockKey = "mockKeymockKeymockKeymockKeymockKeymockKeymockKeymockKeymockKeymockKeymockKeymockKeyMK=="; withEnvironmentVariables( - "RECEIPT_QUEUE_CONN_STRING", "DefaultEndpointsProtocol=https;AccountName=samplequeue;AccountKey="+mockKey+";EndpointSuffix=core.windows.net", + "RECEIPTS_STORAGE_CONN_STRING", "DefaultEndpointsProtocol=https;AccountName=samplequeue;AccountKey="+mockKey+";EndpointSuffix=core.windows.net", "RECEIPT_QUEUE_TOPIC", "validTopic" ).execute(() -> Assertions.assertDoesNotThrow(ReceiptQueueClientImpl::getInstance) );