Skip to content

Commit 31a95cb

Browse files
committed
Fix password generation for low-privilege login in integration tests
1 parent 7086cc0 commit 31a95cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/Commands/Restore-SqlDscDatabase.Integration.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ WITH NOINIT, NOSKIP, REWIND, NOUNLOAD, STATS = 10;
987987
BeforeAll {
988988
# Create a temporary low-privilege login
989989
$script:lowPrivLoginName = 'SqlDscLowPriv_' + (Get-Random)
990-
$script:lowPrivPassword = ConvertTo-SecureString -String 'TempP@ss' + (Get-Random) -AsPlainText -Force
990+
$script:lowPrivPassword = ConvertTo-SecureString -String "TempP@ss$(Get-Random)" -AsPlainText -Force
991991
$script:lowPrivCredential = [System.Management.Automation.PSCredential]::new($script:lowPrivLoginName, $script:lowPrivPassword)
992992

993993
# Create the login

0 commit comments

Comments
 (0)