From 6498e98c4007e3448cf1dbf54bd7ec75730023b6 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Thu, 9 May 2024 20:31:52 +0200 Subject: [PATCH] Fix account name --- .../Commands/Install-SqlDscServer.Integration.Tests.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Integration/Commands/Install-SqlDscServer.Integration.Tests.ps1 b/tests/Integration/Commands/Install-SqlDscServer.Integration.Tests.ps1 index 873c3b9f9..b0fdbf524 100644 --- a/tests/Integration/Commands/Install-SqlDscServer.Integration.Tests.ps1 +++ b/tests/Integration/Commands/Install-SqlDscServer.Integration.Tests.ps1 @@ -28,6 +28,7 @@ Describe 'Install-SqlDscServer' -Tag @('Integration_SQL2016', 'Integration_SQL20 Context 'When installing database engine default instance' { It 'Should run the command without throwing' { { + # TODO: Add additional properties, for example service accounts, to the splatting parameters. # Set splatting parameters for Install-SqlDscServer $installSqlDscServerParameters = @{ Install = $true @@ -35,7 +36,7 @@ Describe 'Install-SqlDscServer' -Tag @('Integration_SQL2016', 'Integration_SQL20 InstanceName = 'MSSQLSERVER' Features = 'SQLENGINE' SqlSysAdminAccounts = @( - ('{0}\MyAdminAccount' -f (Get-ComputerName)) + ('{0}\SqlAdmin' -f (Get-ComputerName)) ) MediaPath = $env:IsoDrivePath # Set by the prerequisites tests Verbose = $true