Skip to content

Commit

Permalink
LACP(Test): Remove warning display when throw check
Browse files Browse the repository at this point in the history
  • Loading branch information
alagoutte committed Nov 25, 2018
1 parent 6ec9b0d commit 2c15a1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/integration/LACP.Test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Describe "Add ArubaSWLACP" {

It "Change trunk group on a port without removing it before" {
Add-ArubaSWLACP -trunk_group trk2 -port 5
{ Add-ArubaSWLACP -trunk_group trk6 -port 5 } | Should Throw
{ Add-ArubaSWLACP -trunk_group trk6 -port 5 3> $null } | Should Throw
Remove-ArubaSWLACP -trunk_group trk2 -port 5 -noconfirm
}

Expand All @@ -41,7 +41,7 @@ Describe "Add ArubaSWLACP" {

Describe "Remove Aruba LACP" {
It "Remove ArubaSWLACP does throw an error if trunk group doesn't exist on a port" {
{ Remove-ArubaSWLACP -trunk_group trk2 -port 5 -noconfirm } | Should Throw
{ Remove-ArubaSWLACP -trunk_group trk2 -port 5 -noconfirm 3> $null } | Should Throw
}

It "Remove ArubaSWLACP does not throw an error if the trunk group exist on a port" {
Expand Down

0 comments on commit 2c15a1e

Please sign in to comment.