lordgamez commented on a change in pull request #1178: URL: https://github.com/apache/nifi-minifi-cpp/pull/1178#discussion_r719208083
########## File path: libminifi/test/azure-tests/PutAzureBlobStorageTests.cpp ########## @@ -283,24 +278,75 @@ TEST_CASE_METHOD(PutAzureBlobStorageTestsFixture, "Test credentials settings", " REQUIRE(failed_flowfiles.size() == 1); REQUIRE(failed_flowfiles[0] == TEST_DATA); } + + SECTION("Account name and managed identity are used in properties") { + plan->setProperty(put_azure_blob_storage, "Storage Account Name", STORAGE_ACCOUNT_NAME); + plan->setProperty(put_azure_blob_storage, "Use Managed Identity Credentials", "true"); + test_controller.runSession(plan, true); + REQUIRE(getFailedFlowFileContents().size() == 0); + auto passed_params = mock_blob_storage_ptr->getPassedParams(); + REQUIRE(passed_params.credentials.buildConnectionString().empty()); + REQUIRE(passed_params.credentials.getStorageAccountName() == STORAGE_ACCOUNT_NAME); Review comment: Changed it in both Blob and Data Lake storage tests with some assertion order changes to be more logical in 184b900f78ed72755f3d0e1876cc69d694da7a9e -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org