From a96b6b74bb8e6e3d6a33ac1a8ad4662772ae1a10 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Fri, 1 Nov 2024 23:16:47 +0100 Subject: [PATCH] Remove redundant parameter from tests --- tests/Module.Tests.ps1 | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tests/Module.Tests.ps1 b/tests/Module.Tests.ps1 index 94922c8..86f8dc0 100644 --- a/tests/Module.Tests.ps1 +++ b/tests/Module.Tests.ps1 @@ -1,13 +1,4 @@ -[CmdletBinding()] -param( - # Path to the module to test. - [Parameter()] - [string] $Path -) - -Write-Verbose "Path to the module: [$Path]" -Verbose - -Describe 'Module' { +Describe 'Module' { Context "Function: 'Test-PSModuleTemplate'" { It 'Should be able to call the function' { Test-PSModuleTemplate -Name 'World' | Should -Be 'Hello, World!'