Skip to content

Commit 6799064

Browse files
committed
Fixed incorrect mock of daily repetition values
1 parent e125aaa commit 6799064

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/Unit/MSFT_xScheduledTask.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ try
278278
Triggers = @(@{
279279
Repetition = @{
280280
Duration = $null
281-
Interval = "PT$(($testParams.RepeatInterval) + 3)D"
281+
Interval = "P$(($testParams.RepeatInterval) + 1)D"
282282
}
283283
})
284284
Principal = @{
@@ -317,7 +317,7 @@ try
317317
Triggers = @(@{
318318
Repetition = @{
319319
Duration = $null
320-
Interval = "PT$($testParams.RepeatInterval)D"
320+
Interval = "P$($testParams.RepeatInterval)D"
321321
}
322322
})
323323
Principal = @{

0 commit comments

Comments
 (0)