@@ -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