@@ -273,37 +273,37 @@ resources:
273273 $stderr | Should -Match ' .*?--path.*?'
274274 }
275275
276- It ' Get operation on the adapter itself should fail' - Tag ' z1 ' {
276+ It ' Get operation on the adapter itself should fail' {
277277 dsc resource get - r Microsoft.DSC/ PowerShell 2> $TestDrive / tracing.txt
278278 $LASTEXITCODE | Should - Be 2
279279 " $TestDrive /tracing.txt" | Should - FileContentMatchExactly ' Can not perform this operation on the adapter'
280280 }
281281
282- It ' Get-all operation on the adapter itself should fail' - Tag ' z1 ' {
282+ It ' Get-all operation on the adapter itself should fail' {
283283 dsc resource get -- all - r Microsoft.DSC/ PowerShell 2> $TestDrive / tracing.txt
284284 $LASTEXITCODE | Should - Be 2
285285 " $TestDrive /tracing.txt" | Should - FileContentMatchExactly ' Can not perform this operation on the adapter'
286286 }
287287
288- It ' Set operation on the adapter itself should fail' - Tag ' z1 ' {
288+ It ' Set operation on the adapter itself should fail' {
289289 ' abc' | dsc resource set - r Microsoft.DSC/ PowerShell 2> $TestDrive / tracing.txt
290290 $LASTEXITCODE | Should - Be 2
291291 " $TestDrive /tracing.txt" | Should - FileContentMatchExactly ' Can not perform this operation on the adapter'
292292 }
293293
294- It ' Test operation on the adapter itself should fail' - Tag ' z1 ' {
294+ It ' Test operation on the adapter itself should fail' {
295295 dsc resource test - r Microsoft.DSC/ PowerShell 2> $TestDrive / tracing.txt
296- $LASTEXITCODE | Should - Be 2
296+ $LASTEXITCODE | Should - Be 1
297297 " $TestDrive /tracing.txt" | Should - FileContentMatchExactly ' Can not perform this operation on the adapter'
298298 }
299299
300- It ' Export operation on the adapter itself should fail' - Tag ' z1 ' {
300+ It ' Export operation on the adapter itself should fail' {
301301 dsc resource export - r Microsoft.DSC/ PowerShell 2> $TestDrive / tracing.txt
302302 $LASTEXITCODE | Should - Be 2
303303 " $TestDrive /tracing.txt" | Should - FileContentMatchExactly ' Can not perform this operation on the adapter'
304304 }
305305
306- It ' Delete operation on the adapter itself should fail' - Tag ' z1 ' {
306+ It ' Delete operation on the adapter itself should fail' {
307307 dsc resource delete - r Microsoft.DSC/ PowerShell 2> $TestDrive / tracing.txt
308308 $LASTEXITCODE | Should - Be 2
309309 " $TestDrive /tracing.txt" | Should - FileContentMatchExactly ' Can not perform this operation on the adapter'
0 commit comments