Skip to content

Commit f7304c7

Browse files
committed
Fix unit tests for PowerShell 7.4
Which now comes with PSResourceGet
1 parent 9cdb7c7 commit f7304c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/Rules/UseCompatibleCommands.Tests.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,9 @@ Describe 'UseCompatibleCommands' {
401401
)
402402
IgnoreCommands = @(
403403
'Install-Module'
404+
'Publish-Module'
405+
'Register-PSRepository'
406+
'Unregister-PSRepository'
404407
# Some PowerShell profiles have Pester installed by default
405408
# So Pester is legitimately flagged
406409
'Describe'

0 commit comments

Comments
 (0)