Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Commit 210b519

Browse files
committed
Test the correct name of the parameter, not the alias
1 parent 4756bec commit 210b519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/OperationValidation.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Describe "OperationValidation Module Tests" {
2323

2424
Context "Get-OperationValidation parameters" {
2525
It "ModuleName parameter is proper type" {
26-
$commands[0].Parameters['ModuleName'].ParameterType | Should be ([System.String[]])
26+
$commands[0].Parameters['Name'].ParameterType | Should be ([System.String[]])
2727
}
2828
It "Version parameter is proper type" {
2929
$commands[0].Parameters['Version'].ParameterType | Should be ([System.Version])

0 commit comments

Comments
 (0)