Skip to content

Commit

Permalink
Azure location scalar test (#533)
Browse files Browse the repository at this point in the history
* add test for azureLocation scalar

* resolve lint failure

* typo

* resolve typo
  • Loading branch information
chunyu3 authored Mar 8, 2024
1 parent 9f6362a commit e38de90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-mice-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@azure-tools/cadl-ranch-specs": patch
---

resolve typo in azureLocation scalar test
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Scenarios.Azure_Core_Scalar_AzureLocationScalar_header = passOnSuccess(

Scenarios.Azure_Core_Scalar_AzureLocationScalar_query = passOnSuccess(
mockapi.post("/azure/core/scalar/azureLocation/query", (req) => {
req.expect.containsQueryParam("regen", "eastus");
req.expect.containsQueryParam("region", "eastus");

return { status: 204 };
}),
Expand Down

0 comments on commit e38de90

Please sign in to comment.