Skip to content

Commit

Permalink
csv tests and ignore whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jworkmanjc committed Nov 15, 2024
1 parent d03fc6a commit 9ac43eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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?"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9ac43eb

Please sign in to comment.