From 7fe405c2e6a8693d85420f1f55778b274f7ae8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Moreau?= Date: Wed, 11 Sep 2024 15:08:13 +0200 Subject: [PATCH] Fix tests : auth-type --> authen-type --- Tests/integration/UserTacacs.Tests.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tests/integration/UserTacacs.Tests.ps1 b/Tests/integration/UserTacacs.Tests.ps1 index 4c51c087e..2d79f7ed5 100644 --- a/Tests/integration/UserTacacs.Tests.ps1 +++ b/Tests/integration/UserTacacs.Tests.ps1 @@ -292,35 +292,35 @@ Describe "Configure User TACACS" { Get-FGTUserTACACS -name $pester_usertacacs | Set-FGTuserTACACS -authen_type mschap $usertacacs = Get-FGTUserTACACS -name $pester_usertacacs $usertacacs.name | Should -Be $pester_usertacacs - $usertacacs."auth-type" | Should -Be "mschap" + $usertacacs."authen-type" | Should -Be "mschap" } It "Change type chap" { Get-FGTUserTACACS -name $pester_usertacacs | Set-FGTuserTACACS -authen_type chap $usertacacs = Get-FGTUserTACACS -name $pester_usertacacs $usertacacs.name | Should -Be $pester_usertacacs - $usertacacs."auth-type" | Should -Be "chap" + $usertacacs."authen-type" | Should -Be "chap" } It "Change type pap" { Get-FGTUserTACACS -name $pester_usertacacs | Set-FGTuserTACACS -authen_type pap $usertacacs = Get-FGTUserTACACS -name $pester_usertacacs $usertacacs.name | Should -Be $pester_usertacacs - $usertacacs."auth-type" | Should -Be "pap" + $usertacacs."authen-type" | Should -Be "pap" } It "Change type ascii" { Get-FGTUserTACACS -name $pester_usertacacs | Set-FGTuserTACACS -authen_type ascii $usertacacs = Get-FGTUserTACACS -name $pester_usertacacs $usertacacs.name | Should -Be $pester_usertacacs - $usertacacs."auth-type" | Should -Be "ascii" + $usertacacs."authen-type" | Should -Be "ascii" } It "Change type auto" { Get-FGTUserTACACS -name $pester_usertacacs | Set-FGTuserTACACS -authen_type auto $usertacacs = Get-FGTUserTACACS -name $pester_usertacacs $usertacacs.name | Should -Be $pester_usertacacs - $usertacacs."auth-type" | Should -Be "auto" + $usertacacs."authen-type" | Should -Be "auto" } AfterAll {