Skip to content

Commit 750ca59

Browse files
committed
More typos ...
1 parent f350fdf commit 750ca59

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Tests/Integration/MSFT_xScheduledTask.Integration.Tests.ps1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ try
2626
Describe $Global:DSCResourceName {
2727

2828
Context "No scheduled task exists, but it should" {
29-
CurrentConfig = "xScheduledTask_Add"
29+
$CurrentConfig = "xScheduledTask_Add"
3030
$ConfigDir = (Join-Path $TestEnvironment.WorkingFolder $CurrentConfig)
3131
$ConfigMof = (Join-Path $ConfigDir "localhost.mof")
3232

@@ -48,7 +48,7 @@ try
4848
}
4949

5050
Context "A scheduled task with minutes based repetition exists, but has the wrong settings" {
51-
CurrentConfig = "xScheduledTask_Edit1"
51+
$CurrentConfig = "xScheduledTask_Edit1"
5252
$ConfigDir = (Join-Path $TestEnvironment.WorkingFolder $CurrentConfig)
5353
$ConfigMof = (Join-Path $ConfigDir "localhost.mof")
5454

@@ -70,7 +70,7 @@ try
7070
}
7171

7272
Context "A scheduled task with hourly based repetition exists, but has the wrong settings" {
73-
CurrentConfig = "xScheduledTask_Edit2"
73+
$CurrentConfig = "xScheduledTask_Edit2"
7474
$ConfigDir = (Join-Path $TestEnvironment.WorkingFolder $CurrentConfig)
7575
$ConfigMof = (Join-Path $ConfigDir "localhost.mof")
7676

@@ -92,7 +92,7 @@ try
9292
}
9393

9494
Context "A scheduled task with daily based repetition exists, but has the wrong settings" {
95-
CurrentConfig = "xScheduledTask_Edit3"
95+
$CurrentConfig = "xScheduledTask_Edit3"
9696
$ConfigDir = (Join-Path $TestEnvironment.WorkingFolder $CurrentConfig)
9797
$ConfigMof = (Join-Path $ConfigDir "localhost.mof")
9898

@@ -114,7 +114,7 @@ try
114114
}
115115

116116
Context "A scheduled task exists and is configured with the wrong working directory" {
117-
CurrentConfig = "xScheduledTask_Edit4"
117+
$CurrentConfig = "xScheduledTask_Edit4"
118118
$ConfigDir = (Join-Path $TestEnvironment.WorkingFolder $CurrentConfig)
119119
$ConfigMof = (Join-Path $ConfigDir "localhost.mof")
120120

@@ -136,7 +136,7 @@ try
136136
}
137137

138138
Context "A scheduled task exists and is configured with the wrong executable arguments" {
139-
CurrentConfig = "xScheduledTask_Edit5"
139+
$CurrentConfig = "xScheduledTask_Edit5"
140140
$ConfigDir = (Join-Path $TestEnvironment.WorkingFolder $CurrentConfig)
141141
$ConfigMof = (Join-Path $ConfigDir "localhost.mof")
142142

@@ -158,7 +158,7 @@ try
158158
}
159159

160160
Context "A scheduled task exists, but it shouldn't" {
161-
CurrentConfig = "xScheduledTask_Remove"
161+
$CurrentConfig = "xScheduledTask_Remove"
162162
$ConfigDir = (Join-Path $TestEnvironment.WorkingFolder $CurrentConfig)
163163
$ConfigMof = (Join-Path $ConfigDir "localhost.mof")
164164

0 commit comments

Comments
 (0)