Skip to content

Commit

Permalink
Update formatting based on code review.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielboth committed Sep 24, 2018
1 parent 6edc311 commit c8d0aa7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Tests/Unit/MSFT_ScheduledTask.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1730,7 +1730,6 @@ try
}

Context 'When a scheduled task is created using a Group Managed Service Account' {

$testParameters = @{
TaskName = 'Test task'
TaskPath = '\Test\'
Expand Down Expand Up @@ -1800,13 +1799,13 @@ try
}
}

It 'Test should return true if the task is in desired state and given gMSA user in DOMAIN\User$ format' {
It 'Should return true if the task is in desired state and given gMSA user in DOMAIN\User$ format' {
Test-TargetResource @testParameters | Should -Be $true
}

$testParameters.ExecuteAsGMSA = '[email protected]'

It 'Test should return true if the task is in desired state and given gMSA user in UPN format' {
It 'Should return true if the task is in desired state and given gMSA user in UPN format' {
Test-TargetResource @testParameters | Should -Be $true
}
}
Expand Down

0 comments on commit c8d0aa7

Please sign in to comment.