Skip to content

Commit 6b40cab

Browse files
committed
Unit tests for renamed parameters fail
1 parent 5af4828 commit 6b40cab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/Private/Test-FabricApiResponse.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ function Test-FabricApiResponse {
1010
.PARAMETER Response
1111
The response body from the API call.
1212
13-
.PARAMETER Name
14-
The name of the resource being operated.
13+
.PARAMETER ObjectIdOrName
14+
The name or ID of the resource being operated.
1515
1616
.PARAMETER TypeName
1717
The type of resource being operated (default: 'Fabric Item').

tests/Unit/Test-FabricApiResponse.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ param(
66
$ModuleName = "FabricTools",
77
$expectedParams = @(
88
"Response"
9-
"Name"
9+
"ObjectIdOrName"
1010
"TypeName"
1111
"NoWait"
1212
"Verbose"

0 commit comments

Comments
 (0)