diff --git a/PowerShell/JumpCloud Module/Tests/Public/Policies/New-JCPolicy.Tests.ps1 b/PowerShell/JumpCloud Module/Tests/Public/Policies/New-JCPolicy.Tests.ps1 index 46a6bcf20..bddad70eb 100644 --- a/PowerShell/JumpCloud Module/Tests/Public/Policies/New-JCPolicy.Tests.ps1 +++ b/PowerShell/JumpCloud Module/Tests/Public/Policies/New-JCPolicy.Tests.ps1 @@ -279,7 +279,7 @@ Describe -Tag:('JCPolicy') 'New-JCPolicy' { Context 'New-JCPolicy should reutrn policies with the correct data types' { It 'New-JCPolicy returns expected parameters' { $usbTemplateLinux = $policyTemplates | Where-Object { $_.name -eq "disable_usb_storage_linux" } - $usbLinuxPolicy = New-JCPolicy -TemplateID $usbTemplateLinux.Id -Name "Pester - USB Linux $(new-randomString -NumberOfChars 8)" -Notes "usb" + $usbLinuxPolicy = New-JCPolicy -TemplateID $usbTemplateLinux.Id -Name "Pester - USB Linux $(new-randomString -NumberOfChars 8)" -disable_mtp $true -disable_afc $false -disable_mmc $false -Notes "usb" $usbLinuxPolicy.name | Should -Not -BeNullOrEmpty $usbLinuxPolicy.id | Should -Not -BeNullOrEmpty $usbLinuxPolicy.values | Should -BeNullOrEmpty