You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/Azure.Mcp.Core/tests/Azure.Mcp.Tests/Client/RecordedCommandTestsBase.cs
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -73,8 +73,12 @@ public abstract class RecordedCommandTestsBase(ITestOutputHelper output, TestPro
73
73
/// Grab the names from the test-proxy source at https://github.com/Azure/azure-sdk-tools/blob/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/SanitizerDictionary.cs#L65)
74
74
/// Default Set:
75
75
/// - `AZSDK3430`: `$..id`
76
+
/// The default replaces to all 0s, but we have some command-line tests that will throw on empty GUID for tenant,
77
+
/// so we will remove this default sanitizer, and add a more specific one that only replaces with all 0s ending with 1.
78
+
/// Still recognizably a GUID, but still a fake one.
// This implies that tests shouldn't use this baseresourcename as part of their validation logic, as sanitization will replace it with "Sanitized" and cause confusion.
232
+
// This implies that tests shouldn't use this baseresourcename as part of their validation logic, as sanitization will replace it with "Sanitized" and cause confusion during playback.
0 commit comments