diff --git a/CHANGELOG.md b/CHANGELOG.md index eb377af20..486f6abc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - SqlServerDsc - Updated Pester test guidance in AI instructions in community style guidelines. + - Added SChannelDsc as a required module for integration tests and enabled the + prerequisites tests `Ensure TLS 1.2 is enabled` ([issue #2441](https://github.com/dsccommunity/SqlServerDsc/issues/2441)). ## [17.5.0] - 2026-01-30 diff --git a/RequiredModules.psd1 b/RequiredModules.psd1 index 1dc6b38d4..69571d44c 100644 --- a/RequiredModules.psd1 +++ b/RequiredModules.psd1 @@ -56,6 +56,12 @@ StorageDsc = '5.1.0' NetworkingDsc = '9.0.0' WSManDsc = '3.1.1' + SChannelDsc = @{ + Version = 'latest' + Parameters = @{ + AllowPrerelease = $true + } + } # Prerequisite modules for documentation. #'DscResource.DocGenerator' = 'latest' diff --git a/tests/Integration/Commands/Prerequisites.Integration.Tests.ps1 b/tests/Integration/Commands/Prerequisites.Integration.Tests.ps1 index 06d36b252..83cff34ff 100644 --- a/tests/Integration/Commands/Prerequisites.Integration.Tests.ps1 +++ b/tests/Integration/Commands/Prerequisites.Integration.Tests.ps1 @@ -269,7 +269,7 @@ Describe 'Prerequisites' { } } - Context 'Ensure TLS 1.2 is enabled' -Tag @('Integration_SQL2025') -Skip { + Context 'Ensure TLS 1.2 is enabled' -Tag @('Integration_SQL2025') { # SQL Server 2025 installation can fail when TLS 1.2 is disabled: # https://learn.microsoft.com/en-us/sql/sql-server/sql-server-2025-known-issues?view=sql-server-ver17#sql-server-2025-installation-fails-when-tls-12-is-disabled It 'Should have TLS 1.2 enabled on the node' -Tag @('Integration_SQL2025') { diff --git a/tests/Integration/Resources/DSC_SqlSetup.Integration.Tests.ps1 b/tests/Integration/Resources/DSC_SqlSetup.Integration.Tests.ps1 index 7eb184756..9c92008a1 100644 --- a/tests/Integration/Resources/DSC_SqlSetup.Integration.Tests.ps1 +++ b/tests/Integration/Resources/DSC_SqlSetup.Integration.Tests.ps1 @@ -255,7 +255,7 @@ Describe "$($script:dscResourceName)_Integration" -Tag @('Integration_SQL2016', } } - Context 'Ensure TLS 1.2 is enabled' -Tag @('Integration_SQL2025') -Skip { + Context 'Ensure TLS 1.2 is enabled' -Tag @('Integration_SQL2025') { # SQL Server 2025 installation can fail when TLS 1.2 is disabled: # https://learn.microsoft.com/en-us/sql/sql-server/sql-server-2025-known-issues?view=sql-server-ver17#sql-server-2025-installation-fails-when-tls-12-is-disabled It 'Should have TLS 1.2 enabled on the node' -Tag @('Integration_SQL2025') {