Skip to content

Commit 33dc0e2

Browse files
committed
Fix comments for clarity and correct grammatical errors in Get-SqlDscLogin integration tests
1 parent 45a8000 commit 33dc0e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Unit/Public/Get-SqlDscLogin.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ BeforeDiscovery {
66
{
77
if (-not (Get-Module -Name 'DscResource.Test'))
88
{
9-
# Assumes dependencies has been resolved, so if this module is not available, run 'noop' task.
9+
# Assumes dependencies have been resolved, so if this module is not available, run 'noop' task.
1010
if (-not (Get-Module -Name 'DscResource.Test' -ListAvailable))
1111
{
1212
# Redirect all streams to $null, except the error stream (stream 2)
1313
& "$PSScriptRoot/../../../build.ps1" -Tasks 'noop' 3>&1 4>&1 5>&1 6>&1 > $null
1414
}
1515

16-
# If the dependencies has not been resolved, this will throw an error.
16+
# If the dependencies have not been resolved, this will throw an error.
1717
Import-Module -Name 'DscResource.Test' -Force -ErrorAction 'Stop'
1818
}
1919
}
@@ -75,7 +75,7 @@ Describe 'Get-SqlDscLogin' -Tag 'Public' {
7575
$result.ParameterListAsString | Should -Be $MockExpectedParameters
7676
}
7777

78-
Context 'When no login exist' {
78+
Context 'When no login exists' {
7979
BeforeAll {
8080
$mockServerObject = New-Object -TypeName 'Microsoft.SqlServer.Management.Smo.Server' |
8181
Add-Member -MemberType 'ScriptProperty' -Name 'Logins' -Value {

0 commit comments

Comments
 (0)