Skip to content

Commit 67d9dde

Browse files
committed
Fix typo in PowerShell adapter test script
1 parent bb16a0d commit 67d9dde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

powershell-adapter/Tests/powershellgroup.resource.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Describe 'PowerShell adapter resource tests' {
4040
It 'Get works on traditional "Script" resource' -Skip:(!$IsWindows){
4141

4242
'test' | Set-Content -Path c:\test.txt -Force
43-
$r = '{"GetScript": "Get-Content c:\\tests.txt", "SetScript": "throw", "TestScript": "throw"}' | dsc resource get -r 'PSDesiredStateConfiguration/Script'
43+
$r = '{"GetScript": "Get-Content c:\\test.txt", "SetScript": "throw", "TestScript": "throw"}' | dsc resource get -r 'PSDesiredStateConfiguration/Script'
4444
$LASTEXITCODE | Should -Be 0
4545
$res = $r | ConvertFrom-Json
4646
$res.actualState.result.properties.GetScript | Should -Be 'c:\test.txt'

powershell-adapter/Tests/winps_resource.dsc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ resources:
1010
- name: File
1111
type: PSDesiredStateConfiguration/File
1212
properties:
13-
DestinationPath: $env:TEMP\test.txt
13+
DestinationPath: c:\test.txt
1414
Contents: 'Hello, World!'

0 commit comments

Comments
 (0)