Skip to content

Commit ec4501f

Browse files
🩹 [Patch]: Remove module import test (#10)
## Description - Remove module import 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 8555463 commit ec4501f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/PublicIP.Tests.ps1

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

1010
Describe 'PublicIP' {
11-
Context 'Module' {
12-
It 'The module should be available' {
13-
Get-Module -Name 'PublicIP' -ListAvailable | Should -Not -BeNullOrEmpty
14-
Write-Verbose (Get-Module -Name 'PublicIP' -ListAvailable | Out-String) -Verbose
15-
}
16-
It 'The module should be imported' {
17-
{ Import-Module -Name 'PublicIP' -Verbose -RequiredVersion 999.0.0 -Force } | Should -Not -Throw
18-
}
19-
}
20-
2111
Context 'Get-PublicIP' {
2212
It 'Should return the public IP address' {
2313
$PublicIP = Get-PublicIP

0 commit comments

Comments
 (0)