Skip to content

Commit 2fdd784

Browse files
Andrsmith/update automanage tests (Azure#31530)
* Remove 'format duration' directive and create new swagger spec link * Change ARM template link * Re-record tests Co-authored-by: andrew <[email protected]>
1 parent f73bb8d commit 2fdd784

21 files changed

+2669
-2104
lines changed

sdk/automanage/Azure.ResourceManager.Automanage/src/autorest.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ azure-arm: true
55
csharp: true
66
library-name: Automanage
77
namespace: Azure.ResourceManager.Automanage
8-
require: https://github.com/Azure/azure-rest-api-specs/blob/d32cece9ca8814ef42085d4bbc426dc35bbcaf87/specification/automanage/resource-manager/readme.md
8+
require: https://github.com/Azure/azure-rest-api-specs/blob/4b5fe2fb0a5066c4ff2bd429dbd5e1afda6afab3/specification/automanage/resource-manager/readme.md
99
tag: package-2022-05
1010
output-folder: $(this-folder)/Generated
1111
clear-output-folder: true
@@ -53,12 +53,6 @@ directive:
5353
- remove-operation: ServicePrincipals_ListBySubscription
5454
- remove-operation: ServicePrincipals_Get
5555

56-
# add 'format: duration' to swagger (will be updated via Swagger spec file)
57-
- from: automanage.json
58-
where: $.definitions.AssignmentReportProperties.properties.duration
59-
transform: |
60-
$.format = "duration"
61-
6256
#use scope parameter on the two paths that are defined multiple times
6357
- from: automanage.json
6458
where: $.paths

sdk/automanage/Azure.ResourceManager.Automanage/tests/SessionRecords/BestPracticeTests/CanGetAllBestPracticesProfiles().json

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

sdk/automanage/Azure.ResourceManager.Automanage/tests/SessionRecords/BestPracticeTests/CanGetAllBestPracticesProfiles()Async.json

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

0 commit comments

Comments
 (0)