diff --git a/sdk/storage/azure-storage-files-shares/test/ut/share_service_client_test.cpp b/sdk/storage/azure-storage-files-shares/test/ut/share_service_client_test.cpp index 20dce19b0..8d12c487c 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/share_service_client_test.cpp +++ b/sdk/storage/azure-storage-files-shares/test/ut/share_service_client_test.cpp @@ -152,8 +152,6 @@ namespace Azure { namespace Storage { namespace Test { TEST_F(FileShareServiceClientTest, SetProperties) { auto properties = m_fileShareServiceClient->GetProperties().Value; - // Has to remove before set, otherwise would return failure. - properties.Protocol = Azure::Nullable(); auto originalProperties = properties; properties.HourMetrics.Enabled = true;