Skip to content

Commit ea41f66

Browse files
committed
Refreshing
1 parent 707e3ff commit ea41f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Ping-Computer.Test.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Describe 'Mock Ping-Computer' {
1212

1313
describe 'Test Ping-Computer' {
1414
it 'should return $true when the computer is online' {
15-
Ping-Computer -ComputerName 127.0.0.1 | Should -Be $true
15+
Ping-Computer -ComputerName $env:COMPUTERNAME | Should -Be $true
1616
}
1717

1818
it 'should return $false when the computer is offline' {

0 commit comments

Comments
 (0)