Skip to content

Commit

Permalink
Fixes casing
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hunt committed Jan 5, 2024
1 parent 70f2f3b commit f91f760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Import-ConfigData.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Describe 'ConvertFrom-PSCustomObject' {
}

It 'Should return an array of two objects' {
$sut = Get-Content -Path "$PSScriptRoot/Test2/TestConfig.json" -Raw | ConvertFrom-Json
$sut = Get-Content -Path "$PSScriptRoot/test2/TestConfig.json" -Raw | ConvertFrom-Json
$result = ConvertFrom-PSCustomObject $sut
$result.ObjectArray.Count | Should -Be 2
}

It 'Should return an array of one object' {
$sut = Get-Content -Path "$PSScriptRoot/Test3/TestConfig.json" -Raw | ConvertFrom-Json
$sut = Get-Content -Path "$PSScriptRoot/test3/TestConfig.json" -Raw | ConvertFrom-Json
$result = ConvertFrom-PSCustomObject $sut
$result.plan.Count | Should -Be 1
}
Expand Down

0 comments on commit f91f760

Please sign in to comment.