Skip to content

Commit 7f49d8b

Browse files
committed
fixing column name tests
1 parent f0506bb commit 7f49d8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Update-DBOSchemaTable.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Describe "Update-DBOSchemaTable integration tests" -Tag $commandName, Integratio
5757

5858
#Verifying SchemaVersions table
5959
$testResults = Invoke-DBOQuery @connParams -Database $newDbName -Query ($verificationQuery -f 'SchemaVersions')
60-
$testResults.column_name | Should -Be @('Id', 'ScriptName', 'Applied', 'Checksum', 'AppliedBy', 'ExecutionTime')
60+
$testResults.column_name | Should -BeIn @('Id', 'ScriptName', 'Applied', 'Checksum', 'AppliedBy', 'ExecutionTime')
6161
}
6262
It "upgrade custom schema table" {
6363
$null = Invoke-DBOQuery @connParams -Database $newDbName -Query ($schemaTableQuery -f $logTable)
@@ -66,7 +66,7 @@ Describe "Update-DBOSchemaTable integration tests" -Tag $commandName, Integratio
6666
$result | Should -BeNullOrEmpty
6767

6868
$testResults = Invoke-DBOQuery @connParams -Database $newDbName -Query ($verificationQuery -f $logTable)
69-
$testResults.column_name | Should -Be @('Id', 'ScriptName', 'Applied', 'Checksum', 'AppliedBy', 'ExecutionTime')
69+
$testResults.column_name | Should -BeIn @('Id', 'ScriptName', 'Applied', 'Checksum', 'AppliedBy', 'ExecutionTime')
7070
}
7171
}
7272
Context "$commandName whatif tests" {
@@ -77,7 +77,7 @@ Describe "Update-DBOSchemaTable integration tests" -Tag $commandName, Integratio
7777
$result | Should -BeNullOrEmpty
7878

7979
$testResults = Invoke-DBOQuery @connParams -Database $newDbName -Query ($verificationQuery -f $logTable)
80-
$testResults.column_name | Should -Be @('Id', 'ScriptName', 'Applied')
80+
$testResults.column_name | Should -BeIn @('Id', 'ScriptName', 'Applied')
8181
}
8282
}
8383
}

0 commit comments

Comments
 (0)