Skip to content

Commit 9f3a970

Browse files
committed
adding internal function validation
1 parent b087bab commit 9f3a970

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/deploy.ps1.Tests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ Describe "deploy.ps1 integration tests" -Tag $commandName, IntegrationTests {
124124
$testResults.StartTime | Should -Not -BeNullOrEmpty
125125
$testResults.EndTime | Should -Not -BeNullOrEmpty
126126
$testResults.EndTime | Should -BeGreaterOrEqual $testResults.StartTime
127+
Get-ChildItem function:\ | Where-Object Name -eq Invoke-DBODeployment | Should -BeNullOrEmpty
127128
}
128129
$job = Start-Job -ScriptBlock $scriptBlock -ArgumentList $workFolder, "$here\constants.ps1", $newDbName
129130
$job | Wait-Job | Receive-Job -ErrorAction Stop

0 commit comments

Comments
 (0)