diff --git a/utilities/tools/tests/ConvertTo-ARMTemplate.Tests.ps1 b/utilities/tools/tests/ConvertTo-ARMTemplate.Tests.ps1 index c991acb586..0a603871ec 100644 --- a/utilities/tools/tests/ConvertTo-ARMTemplate.Tests.ps1 +++ b/utilities/tools/tests/ConvertTo-ARMTemplate.Tests.ps1 @@ -40,9 +40,9 @@ Describe 'Test default behavior' -Tag 'Default' { ConvertTo-ARMTemplate -RootPath $rootPath -Verbose -RunSynchronous } - It 'All [] top-level [main.bicep] files are converted to [main.json]' { + It 'All [] [main.bicep] files are converted to [main.json]' { $deployJsonFilesCount = (Get-ChildItem -Recurse $modulesFolderPath | Where-Object { $_.FullName -match 'main.json' }).Count - $deployJsonFilesCount | Should -Be $topLevelBicepDeployFilesCount + $deployJsonFilesCount | Should -Be $allBicepDeployFilesCount } It 'All [] [main.test.bicep] files are converted to [main.test.json]' { @@ -95,7 +95,7 @@ Describe 'Test flags that skip logic' -Tag 'Skip' { It 'All [] main.bicep files are converted to main.json' { $deployJsonFilesCount = (Get-ChildItem -Recurse $modulesFolderPath | Where-Object { $_.FullName -match 'main.json' }).Count - $deployJsonFilesCount | Should -Be $topLevelBicepDeployFilesCount + $deployJsonFilesCount | Should -Be $allBicepDeployFilesCount } It 'All [] bicep files are still there' {