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 ce24357 commit b4f4e68Copy full SHA for b4f4e68
ITTests/Simple.ITTests.ps1
@@ -11,15 +11,15 @@ Describe "Netscaler Connection" {
11
12
Get-NSHostname
13
Disconnect-Netscaler
14
- { Get-NSHostname } | Should Throw "401 (Unauthorized)"
+ { Get-NSHostname } | Should Throw "Unauthorized"
15
}
16
17
It "should disconnect explicit session" {
18
$Session = Connect-TestNetscaler
19
20
Get-NSHostname -Session $Session
21
Disconnect-Netscaler -Session $Session
22
- { Get-NSHostname -Session $Session } | Should Throw "401 (Unauthorized)"
+ { Get-NSHostname -Session $Session } | Should Throw "Unauthorized"
23
24
25
0 commit comments