@@ -40,13 +40,13 @@ resources:
4040 $out.resources.count | Should - Be 1
4141 $out.resources [0 ].properties | Should -Not - BeNullOrEmpty
4242 $out.resources [0 ].properties.port | Should - BeNullOrEmpty
43- $out.resources [0 ].properties.passwordAuthentication | Should - Be ' no '
43+ $out.resources [0 ].properties.passwordAuthentication | Should - Be $false
4444 $out.resources [0 ].properties._inheritedDefaults | Should - BeNullOrEmpty
4545 } else {
4646 $out.results.count | Should - Be 1
4747 $out.results.result.actualState | Should -Not - BeNullOrEmpty
4848 $out.results.result.actualState.port [0 ] | Should - Be 22
49- $out.results.result.actualState.passwordAuthentication | Should - Be ' no '
49+ $out.results.result.actualState.passwordAuthentication | Should - Be $false
5050 $out.results.result.actualState._inheritedDefaults | Should - Contain ' port'
5151 }
5252 }
@@ -69,7 +69,7 @@ resources:
6969 $LASTEXITCODE | Should - Be 0
7070 $out.resources.count | Should - Be 1
7171 ($out.resources [0 ].properties.psobject.properties | Measure-Object ).count | Should - Be 1
72- $out.resources [0 ].properties.passwordAuthentication | Should - Be ' no '
72+ $out.resources [0 ].properties.passwordAuthentication | Should - Be $false
7373 }
7474
7575 It ' <command> with _includeDefaults specified works' - TestCases @ (
@@ -128,7 +128,7 @@ resources:
128128 $out.results.count | Should - Be 1
129129 $out.results.result.actualState | Should -Not - BeNullOrEmpty
130130 $out.results.result.actualState.port | Should - Be 22
131- $out.results.result.actualState.passwordAuthentication | Should - Be ' yes '
131+ $out.results.result.actualState.passwordAuthentication | Should - Be $true
132132 $out.results.result.actualState._inheritedDefaults | Should -Not - Contain ' port'
133133 }
134134 }
0 commit comments