Skip to content

Commit 9a31edd

Browse files
committed
fixing oracle checking database
1 parent f49ac8e commit 9a31edd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/functional/Install-DBOScript.Tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,9 @@ Describe "<type> Install-DBOScript functional tests" -Tag FunctionalTests -ForEa
251251
$testResults = Install-DBOScript -Path $tranFailScripts -SchemaVersionTable $logTable -DeploymentMethod NoTransaction @dbConnectionParams -ErrorAction SilentlyContinue
252252
$testResults.Successful | Should -Be $false
253253
$testResults.SqlInstance | Should -Be $instance
254-
$testResults.Database | Should -Be $newDbName
254+
if ($Type -ne 'Oracle') {
255+
$testResults.Database | Should -Be $newDbName
256+
}
255257
$testResults.SourcePath | Should -Be (Get-ChildItem $tranFailScripts).FullName
256258
$testResults.ConnectionType | Should -Be $Type
257259
$testResults.Configuration.SchemaVersionTable | Should -Be $logTable

0 commit comments

Comments
 (0)