Skip to content

Commit 00ee7ad

Browse files
🩹 [Patch]: Remove import module test (#6)
## Description - Remove import module test ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 5c1c9ba commit 00ee7ad

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/PowerShellGallery.Tests.ps1

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,4 @@ Param(
88
Write-Verbose "Path to the module: [$Path]" -Verbose
99

1010
Describe 'PowerShellGallery' {
11-
Context 'Module' {
12-
It 'The module should be available' {
13-
Get-Module -Name 'PowerShellGallery' -ListAvailable | Should -Not -BeNullOrEmpty
14-
Write-Verbose (Get-Module -Name 'PowerShellGallery' -ListAvailable | Out-String) -Verbose
15-
}
16-
It 'The module should be importable' {
17-
{ Import-Module -Name 'PowerShellGallery' -Verbose -RequiredVersion 999.0.0 -Force } | Should -Not -Throw
18-
}
19-
}
2011
}

0 commit comments

Comments
 (0)