diff --git a/sdk/storage/microsoft-azure-storage-blob/src/test/java/com/microsoft/azure/storage/blob/HelperTest.groovy b/sdk/storage/microsoft-azure-storage-blob/src/test/java/com/microsoft/azure/storage/blob/HelperTest.groovy index 6ba69dfc4f1a9..c66489b73acf9 100644 --- a/sdk/storage/microsoft-azure-storage-blob/src/test/java/com/microsoft/azure/storage/blob/HelperTest.groovy +++ b/sdk/storage/microsoft-azure-storage-blob/src/test/java/com/microsoft/azure/storage/blob/HelperTest.groovy @@ -912,7 +912,7 @@ class HelperTest extends APISpec { def "URLParser"() { when: - def parts = URLParser.parse(new URL("http://host/container/blob?snapshot=snapshot&sv=" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "&sr=c&sp=r&sig=Ee%2BSodSXamKSzivSdRTqYGh7AeMVEk3wEoRZ1yzkpSc%3D")) + def parts = URLParser.parse(new URL("http://host/container/blob?snapshot=snapshot&sv=" + Constants.HeaderConstants.TARGET_STORAGE_VERSION + "&sr=c&sp=r&sig=redacted")) then: parts.scheme() == "http" @@ -923,6 +923,6 @@ class HelperTest extends APISpec { parts.sasQueryParameters().permissions() == "r" parts.sasQueryParameters().version() == Constants.HeaderConstants.TARGET_STORAGE_VERSION parts.sasQueryParameters().resource() == "c" - parts.sasQueryParameters().signature() == Utility.safeURLDecode("Ee%2BSodSXamKSzivSdRTqYGh7AeMVEk3wEoRZ1yzkpSc%3D") + parts.sasQueryParameters().signature() == Utility.safeURLDecode("redacted") } }