From 7cfc5993a931a7956fadf4822ab356647e531d0d Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 7 Apr 2019 16:00:57 +0200 Subject: [PATCH] CLI(Tests): Add check error_msg for show run test --- Tests/integration/Cli.Tests.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/integration/Cli.Tests.ps1 b/Tests/integration/Cli.Tests.ps1 index 95b7c2e..aa59fde 100644 --- a/Tests/integration/Cli.Tests.ps1 +++ b/Tests/integration/Cli.Tests.ps1 @@ -18,6 +18,7 @@ Describe "Get (Any)CLi" { $cli = Get-ArubaSWCli -cmd "show run" $cli.status | Should be "CCS_SUCCESS" $cli.cmd | Should be "show run" + $cli.error_msg | Should -BeNullOrEmpty $cli.result_base64_encoded | Should not be $NULL $cli.result | Should not be $NULL }