From bb8bdbae3eb41cd0cfe1caa1e645f08cae5b058b Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Mon, 5 Feb 2024 20:54:39 +0100 Subject: [PATCH] Connection(Tests): Fix typo and order for multi connection test --- Tests/integration/Connection.Tests.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/integration/Connection.Tests.ps1 b/Tests/integration/Connection.Tests.ps1 index af7b1057c..d55aec352 100644 --- a/Tests/integration/Connection.Tests.ps1 +++ b/Tests/integration/Connection.Tests.ps1 @@ -139,12 +139,12 @@ Describe "Connect to a FortiGate (using multi connection)" { } Context "Use Multi connection for call some (Get) cmdlet (Vlan, System...)" { + It "Use Multi connection for call Get Application List" { + { Get-FGTApplicationList -connection $fgt } | Should -Not -Throw + } It "Use Multi connection for call Get Antivirus Profile" { { Get-FGTAntivirusProfile -connection $fgt } | Should -Not -Throw } - It "Use Multi connection for call Get Application List" { - { Get-FGTApplicationList-connection $fgt } | Should -Not -Throw - } It "Use Multi connection for call Get IPS Sensor" { { Get-FGTIpsSensor -connection $fgt } | Should -Not -Throw }