Skip to content

Commit

Permalink
Merge pull request #42 from f-bader:bugfix_TestsWithWrongPropertyCasing
Browse files Browse the repository at this point in the history
Bugfix case sensitive property names
  • Loading branch information
f-bader authored Dec 16, 2024
2 parents bbef9bc + 25938ff commit 1a4ad43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Convert-SentinelARArmToYaml.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ Describe "Simple example tests" {
It "Merged RelevantTechniques, SubTechniques and Techniques into single property" {
$converted = Convert-SentinelARArmToYaml -Filename "TestDrive:/Content/TTPWithTacticsNTechniques.json" | ConvertFrom-Yaml
$converted.subTechniques | Should -Be $null
$converted.RelevantTechniques -join ", " | Should -Be "T1078.003, T1078.004"
$converted.relevantTechniques -join ", " | Should -Be "T1078.003, T1078.004"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Convert-SentinelARYamlToArm.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Describe "Convert-SentinelARYamlToArm" {


It "Should have the correct display name" {
$armTemplate.resources[0].properties.displayName | Should -Be $YAMLSourceContent.Name
$armTemplate.resources[0].properties.displayName | Should -Be $YAMLSourceContent.name
}

It "Should have the correct description" {
Expand Down

0 comments on commit 1a4ad43

Please sign in to comment.