Skip to content

Commit 2ea9b50

Browse files
authored
Add T1 sanitization (Azure#26436)
1 parent 647924f commit 2ea9b50

19 files changed

+832
-578
lines changed

sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/VMTestBase.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
using System.Net;
1919
using System.Reflection;
2020
using System.Text;
21+
using Microsoft.Azure.Test.HttpRecorder;
2122
using Xunit;
2223
using CM=Microsoft.Azure.Management.Compute.Models;
2324
using NM=Microsoft.Azure.Management.Network.Models;
@@ -26,6 +27,11 @@ namespace Compute.Tests
2627
{
2728
public class VMTestBase
2829
{
30+
static VMTestBase()
31+
{
32+
RecorderUtilities.JsonPathSanitizers.Add("$..accessSAS");
33+
}
34+
2935
protected const string TestPrefix = "crptestar";
3036
protected const string PLACEHOLDER = "[PLACEHOLDEr1]";
3137
protected const string ComputerName = "Test";

sdk/compute/Microsoft.Azure.Management.Compute/tests/SessionRecords/Compute.Tests.RestorePointTests/CreateRpcAndRestorePoints.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Microsoft.Azure.Management.Compute/tests/SessionRecords/DiskRPCreateOptionTests/CopyStartSnapshotPositiveTest.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Microsoft.Azure.Management.Compute/tests/SessionRecords/DiskRPScenarioTests/Disk_CRUD_EmptyDisk.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Microsoft.Azure.Management.Compute/tests/SessionRecords/DiskRPScenarioTests/Disk_CRUD_EmptyDisk_Zones.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Microsoft.Azure.Management.Compute/tests/SessionRecords/DiskRPScenarioTests/Disk_CRUD_ImportDisk.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Microsoft.Azure.Management.Compute/tests/SessionRecords/DiskRPScenarioTests/Disk_CRUD_PremiumDiskWithBursting.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Microsoft.Azure.Management.Compute/tests/SessionRecords/DiskRPScenarioTests/Disk_CRUD_PremiumDiskWithTier.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Microsoft.Azure.Management.Compute/tests/SessionRecords/DiskRPScenarioTests/Disk_CRUD_PremiumZRSDisk.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Microsoft.Azure.Management.Compute/tests/SessionRecords/DiskRPScenarioTests/Disk_CRUD_StandardSSDZRSDisk.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)