Skip to content

Commit

Permalink
Update tests/Convert-SentinelARYamlToArm.tests.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
f-bader authored Jul 21, 2024
1 parent 9aa6d58 commit afa6bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Convert-SentinelARYamlToArm.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ Describe "Convert-SentinelARYamlToArm" {
Context "Scheduled with TTP sub-techniques and invalid techniques using old API" -Tag Integration {
BeforeAll {
Copy-Item -Path $exampleScheduledTTPFilePath -Destination "TestDrive:/Scheduled.yaml" -Force
Convert-SentinelARYamlToArm -Filename "TestDrive:/Scheduled.yaml" -OutFile "TestDrive:/Scheduled.json"
Convert-SentinelARYamlToArm -Filename "TestDrive:/Scheduled.yaml" -OutFile "TestDrive:/Scheduled.json" -APIVersion "2023-10-01-preview"
$armTemplate = Get-Content -Path "TestDrive:/Scheduled.json" -Raw | ConvertFrom-Json
$YAMLSourceContent = Get-Content -Path "TestDrive:/Scheduled.yaml" -Raw | ConvertFrom-Yaml
}
Expand Down

0 comments on commit afa6bd3

Please sign in to comment.