We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 707e3ff commit ea41f66Copy full SHA for ea41f66
Tests/Ping-Computer.Test.ps1
@@ -12,7 +12,7 @@ Describe 'Mock Ping-Computer' {
12
13
describe 'Test Ping-Computer' {
14
it 'should return $true when the computer is online' {
15
- Ping-Computer -ComputerName 127.0.0.1 | Should -Be $true
+ Ping-Computer -ComputerName $env:COMPUTERNAME | Should -Be $true
16
}
17
18
it 'should return $false when the computer is offline' {
0 commit comments