Skip to content

Commit c83cf50

Browse files
kazrael2119rakshith91
authored andcommitted
update relay test (Azure#23666)
Co-authored-by: ZiWei Chen (WICRESOFT NORTH AMERICA LTD) <v-ziweichen@microsoft.com>
1 parent 2af81ec commit c83cf50

5 files changed

+545
-542
lines changed

sdk/relay/azure-mgmt-relay/tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,7 @@ def add_sanitizers(test_proxy):
4848
add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000")
4949
add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]")
5050
add_header_regex_sanitizer(key="Cookie", value="cookie;")
51-
add_body_key_sanitizer(json_path="$..access_token", value="access_token")
51+
add_body_key_sanitizer(json_path="$..access_token", value="access_token")
52+
add_body_key_sanitizer(json_path="$..primaryKey", value="primaryKey")
53+
add_body_key_sanitizer(json_path="$..secondaryKey", value="secondaryKey")
54+
add_body_key_sanitizer(json_path="$..secondaryConnectionString", value="secondaryConnectionString")

0 commit comments

Comments
 (0)