Skip to content

Commit

Permalink
resource-manager, fix resources nested test (#663)
Browse files Browse the repository at this point in the history
* fix resourcemanager mock test

* changeset
  • Loading branch information
XiaofeiCao authored Aug 7, 2024
1 parent ee389b5 commit 13ec97f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cold-trains-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@azure-tools/cadl-ranch-specs": patch
---

Fixed ARM resources mock test.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Scenarios.Azure_ResourceManager_Models_Resources_NestedProxyResources_update = p
description: "valid2",
},
});
const resource = JSON.parse(JSON.stringify(validTopLevelResource));
const resource = JSON.parse(JSON.stringify(validNestedResource));
resource.properties.description = "valid2";
return {
status: 200,
Expand Down

0 comments on commit 13ec97f

Please sign in to comment.