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) );