diff --git a/PowerShell/JumpCloud Module/Tests/ModuleValidation/SDKImport.Tests.ps1 b/PowerShell/JumpCloud Module/Tests/ModuleValidation/SDKImport.Tests.ps1 index 5dd6cc658..0e5c468fe 100644 --- a/PowerShell/JumpCloud Module/Tests/ModuleValidation/SDKImport.Tests.ps1 +++ b/PowerShell/JumpCloud Module/Tests/ModuleValidation/SDKImport.Tests.ps1 @@ -16,7 +16,7 @@ Describe -Tag:('ModuleValidation') 'SDK Generation' { # Each function defined in the jcapiToSupportSync file should exist Test-Path -Path $functionFilePath | should -Be $true # Git Diff for the file should not exist - $diff = git diff $functionFilePath + $diff = git diff -w $functionFilePath if ($diff) { write-warning "diff found in file: $functionFilePath when we expected none to exist; have you run jcapiToSupportSync.ps1 and committed the resulting changes?" } diff --git a/PowerShell/JumpCloud Module/Tests/Public/Utilities/CSV_Import/Update-JCUsersFromCSV.Tests.ps1 b/PowerShell/JumpCloud Module/Tests/Public/Utilities/CSV_Import/Update-JCUsersFromCSV.Tests.ps1 index 4e2ce0f1a..fe06f6d65 100755 --- a/PowerShell/JumpCloud Module/Tests/Public/Utilities/CSV_Import/Update-JCUsersFromCSV.Tests.ps1 +++ b/PowerShell/JumpCloud Module/Tests/Public/Utilities/CSV_Import/Update-JCUsersFromCSV.Tests.ps1 @@ -460,7 +460,7 @@ Describe -Tag:('JCUsersFromCSV') "Update-JCUsersFromCSV 1.8.0" { $ImportCheck.jobTitle | Should -Be $NewUserInfo.jobTitle $ImportCheck.employeeIdentifier | Should -Be $NewUserInfo.employeeIdentifier $ImportCheck.alternateEmail | Should -Be $NewUserInfo.alternateEmail - $ImportCheck.recoveryEmail | Should -Be $NewUserInfo.recoveryEmail + $ImportCheck.recoveryEmail | Should -Be $NewUserInfo.recoveryEmail.address # TODO: Dynamically populate manager # $ImportCheck.manager | Should -Be $NewUserInfo.manager $ImportCheck.managedAppleId | Should -Be $NewUserInfo.managedAppleId $ImportCheck.department | Should -Be $NewUserInfo.department @@ -786,7 +786,7 @@ Describe -Tag:('JCUsersFromCSV') "Update-JCUsersFromCSV 1.8.0" { $ImportCheck.jobTitle | Should -Be $NewUserInfo.jobTitle $ImportCheck.employeeIdentifier | Should -Be $NewUserInfo.employeeIdentifier $ImportCheck.alternateEmail | Should -Be $NewUserInfo.alternateEmail - $ImportCheck.recoveryEmail | Should -Be $NewUserInfo.recoveryEmail + $ImportCheck.recoveryEmail | Should -Be $NewUserInfo.recoveryEmail.address # TODO: Dynamically populate manager # $ImportCheck.manager | Should -Be $NewUserInfo.manager $ImportCheck.managedAppleId | Should -Be $NewUserInfo.managedAppleId $ImportCheck.department | Should -Be $NewUserInfo.department