Skip to content

Commit 3f43fd3

Browse files
committed
Remove test
1 parent 40ed046 commit 3f43fd3

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

dsc/tests/dsc_whatif.tests.ps1

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,6 @@ Describe 'whatif tests' {
5050

5151
}
5252

53-
It 'config set whatif for delete is not supported' {
54-
$config_yaml = @"
55-
`$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
56-
resources:
57-
- name: Delete
58-
type: Test/Delete
59-
properties:
60-
_exist: false
61-
"@
62-
$result = $config_yaml | dsc config set -w -f - 2>&1
63-
$result | Should -Match 'ERROR.*?Not supported.*?what-if'
64-
$LASTEXITCODE | Should -Be 2
65-
}
66-
6753
It 'config set whatif for group resource' {
6854
$result = dsc config set -f $PSScriptRoot/../examples/groups.dsc.yaml -w 2>&1
6955
$result | Should -Match 'ERROR.*?Not implemented.*?what-if'

dsc_lib/locales/en-us.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ elevationRequired = "Elevated security context required"
4343
restrictedRequired = "Restricted security context required"
4444
desired = "Desired state: %{state}"
4545
handlesExist = "Resource handles _exist or _exist is true"
46-
whatIfNotSupportedForDelete = "What-if execution not supported for delete"
4746
implementsDelete = "Resource implements delete and _exist is false"
4847
groupNotSupportedForDelete = "Group resources not supported for delete"
4948
deleteNotSupported = "Resource '%{resource}' does not support `delete` and does not handle `_exist` as false"

0 commit comments

Comments
 (0)