Azure / Azure/autorest.powershell
Tests expect case-sensitive matching http request in recordings
- Dominant language
- C#
- Stars
- 123
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
If the test recording has a matching request, but one character is in a different case, the match fails and test complains that the matching http request was not found. The test should look for recordings with case-insensitivity.
For example, the below requests are exactly the same except the resource group name in one is "system.redmond" and other is "System.redmond" where s is in different cases.
> Get-AzsBackup+[NoContext]+TestListBackups+$GET+https://management.azure.com/subscriptions/05101DAF-F50D-4436-A2AC-495E5C4864C2/resourceGroups/system.redmond/providers/Microsoft.Backup.Admin/backupLocations/redmond/backups?api-version=2018-09-01+1
> Get-AzsBackup+[NoContext]+TestListBackups+$GET+https://management.azure.com/subscriptions/05101DAF-F50D-4436-A2AC-495E5C4864C2/resourceGroups/System.redmond/providers/Microsoft.Backup.Admin/backupLocations/redmond/backups?api-version=2018-09-01+1
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.