Skip to content

Commit

Permalink
Update test (Install-DbaInstance)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjordan committed May 18, 2024
1 parent 4aa1e39 commit c611fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Install-DbaInstance.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Describe "$CommandName Unit Tests" -Tag 'UnitTests' {
Assert-MockCalled -CommandName Invoke-Program -Exactly 1 -Scope It -ModuleName dbatools
Assert-MockCalled -CommandName Find-SqlInstanceSetup -Exactly 1 -Scope It -ModuleName dbatools
Assert-MockCalled -CommandName Test-PendingReboot -Exactly 3 -Scope It -ModuleName dbatools
Assert-MockCalled -CommandName Set-DbaPrivilege -Exactly 1 -Scope It -ModuleName dbatools
Assert-MockCalled -CommandName Set-DbaPrivilege -Exactly 0 -Scope It -ModuleName dbatools # SQLSVCINSTANTFILEINIT is used for version 2016 and later
Assert-MockCalled -CommandName Set-DbaTcpPort -Exactly 1 -Scope It -ModuleName dbatools

$result | Should -Not -BeNullOrEmpty
Expand Down

0 comments on commit c611fb5

Please sign in to comment.