Skip to content

Commit

Permalink
Update integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed May 9, 2020
1 parent 2b5e95f commit c76d80d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ stages:
'tests/Integration/DSC_SqlAgentAlert.Integration.Tests.ps1'
'tests/Integration/DSC_SqlServerNetwork.Integration.Tests.ps1'
'tests/Integration/DSC_SqlServerLogin.Integration.Tests.ps1'
'tests/Integration/DSC_SqlServerEndPoint.Integration.Tests.ps1'
'tests/Integration/DSC_SqlServerEndpoint.Integration.Tests.ps1'
'tests/Integration/DSC_SqlServerDatabaseMail.Integration.Tests.ps1'
'tests/Integration/DSC_SqlRSSetup.Integration.Tests.ps1'
'tests/Integration/DSC_SqlDatabaseDefaultLocation.Integration.Tests.ps1'
Expand Down Expand Up @@ -211,7 +211,7 @@ stages:
# Group 2
'tests/Integration/DSC_SqlAgentAlert.Integration.Tests.ps1'
'tests/Integration/DSC_SqlServerLogin.Integration.Tests.ps1'
'tests/Integration/DSC_SqlServerEndPoint.Integration.Tests.ps1'
'tests/Integration/DSC_SqlServerEndpoint.Integration.Tests.ps1'
'tests/Integration/DSC_SqlServerDatabaseMail.Integration.Tests.ps1'
'tests/Integration/DSC_SqlRSSetup.Integration.Tests.ps1'
'tests/Integration/DSC_SqlDatabaseDefaultLocation.Integration.Tests.ps1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ try
$resourceCurrentState.Port | Should -Be $ConfigurationData.AllNodes.Port
$resourceCurrentState.IpAddress | Should -Be $ConfigurationData.AllNodes.IpAddress
$resourceCurrentState.Owner | Should -Be $ConfigurationData.AllNodes.Owner
$resourceCurrentState.State | Should -Be 'Running'
}

It 'Should return $true when Test-DscConfiguration is run' {
Expand Down
1 change: 1 addition & 0 deletions tests/Integration/DSC_SqlServerEndpoint.config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Configuration DSC_SqlServerEndpoint_Add_Config
Port = $Node.Port
IpAddress = $Node.IpAddress
Owner = $Node.Owner
State = 'Running'

ServerName = $Node.ServerName
InstanceName = $Node.InstanceName
Expand Down

0 comments on commit c76d80d

Please sign in to comment.