@@ -57,7 +57,7 @@ Describe "Update-DBOSchemaTable integration tests" -Tag $commandName, Integratio
57
57
58
58
# Verifying SchemaVersions table
59
59
$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' )
61
61
}
62
62
It " upgrade custom schema table" {
63
63
$null = Invoke-DBOQuery @connParams - Database $newDbName - Query ($schemaTableQuery -f $logTable )
@@ -66,7 +66,7 @@ Describe "Update-DBOSchemaTable integration tests" -Tag $commandName, Integratio
66
66
$result | Should - BeNullOrEmpty
67
67
68
68
$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' )
70
70
}
71
71
}
72
72
Context " $commandName whatif tests" {
@@ -77,7 +77,7 @@ Describe "Update-DBOSchemaTable integration tests" -Tag $commandName, Integratio
77
77
$result | Should - BeNullOrEmpty
78
78
79
79
$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' )
81
81
}
82
82
}
83
83
}
0 commit comments