From 39c0bb2ba37e9e70648a8e6e16586e1a5944aa29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Moreau?= Date: Fri, 13 Sep 2024 10:07:17 +0200 Subject: [PATCH] Fix nas-ip tests --- Tests/integration/UserRadius.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/integration/UserRadius.Tests.ps1 b/Tests/integration/UserRadius.Tests.ps1 index b1b6d48b3..8de5406ed 100644 --- a/Tests/integration/UserRadius.Tests.ps1 +++ b/Tests/integration/UserRadius.Tests.ps1 @@ -260,14 +260,14 @@ Describe "Configure User RADIUS" { } It "Change NAS IP" { - Get-FGTUserRADIUS -name $pester_userradius | Set-FGTuserRADIUS -nas_ip "192.2.0.2" + Get-FGTUserRADIUS -name $pester_userradius | Set-FGTuserRADIUS -nas_ip 192.2.0.2 $userradius = Get-FGTUserRADIUS -name $pester_userradius $userradius.name | Should -Be $pester_userradius $userradius."nas-ip" | Should -Be "192.2.0.2" } It "Change NAS ID" -skip:($fgt_version -lt "7.2.0") { - Get-FGTUserRADIUS -name $pester_userradius | Set-FGTuserRADIUS -nas_id "PowerFGT" + Get-FGTUserRADIUS -name $pester_userradius | Set-FGTuserRADIUS -nas_id PowerFGT $userradius = Get-FGTUserRADIUS -name $pester_userradius $userradius.name | Should -Be $pester_userradius $userradius."nas-id" | Should -Be "PowerFGT"