@@ -65,7 +65,7 @@ Describe "Update-DBOSchemaTable Postgresql integration tests" -Tag $commandName,
6565
6666 # Verifying SchemaVersions table
6767 $testResults = Invoke-DBOQuery @connParams - Database $newDbName - Query ($verificationQuery -f ' SchemaVersions' )
68- $testResults.column_name | Should - Be @ (' schemaversionsid' , ' scriptname' , ' applied' , ' checksum' , ' appliedby' , ' executiontime' )
68+ $testResults.column_name | Should - BeIn @ (' schemaversionsid' , ' scriptname' , ' applied' , ' checksum' , ' appliedby' , ' executiontime' )
6969 }
7070 It " upgrade custom schema table" {
7171 $null = Invoke-DBOQuery @connParams - Database $newDbName - Query ($schemaTableQuery -f $logTable )
@@ -74,7 +74,7 @@ Describe "Update-DBOSchemaTable Postgresql integration tests" -Tag $commandName,
7474 $result | Should - BeNullOrEmpty
7575
7676 $testResults = Invoke-DBOQuery @connParams - Database $newDbName - Query ($verificationQuery -f $logTable )
77- $testResults.column_name | Should - Be @ (' schemaversionsid' , ' scriptname' , ' applied' , ' checksum' , ' appliedby' , ' executiontime' )
77+ $testResults.column_name | Should - BeIn @ (' schemaversionsid' , ' scriptname' , ' applied' , ' checksum' , ' appliedby' , ' executiontime' )
7878 }
7979 }
8080 Context " $commandName whatif tests" {
@@ -85,7 +85,7 @@ Describe "Update-DBOSchemaTable Postgresql integration tests" -Tag $commandName,
8585 $result | Should - BeNullOrEmpty
8686
8787 $testResults = Invoke-DBOQuery @connParams - Database $newDbName - Query ($verificationQuery -f $logTable )
88- $testResults.column_name | Should - Be @ (' schemaversionsid' , ' scriptname' , ' applied' )
88+ $testResults.column_name | Should - BeIn @ (' schemaversionsid' , ' scriptname' , ' applied' )
8989 }
9090 }
9191}
0 commit comments