Fix test_schema_names
to include "hint_plan" schema
This commit is contained in:
parent
3ac50c0a29
commit
ce7ccd8168
@ -104,7 +104,11 @@ def setup
|
||||
end
|
||||
|
||||
def test_schema_names
|
||||
assert_equal ["public", "test_schema", "test_schema2"], @connection.schema_names
|
||||
schema_names = @connection.schema_names
|
||||
assert_includes schema_names, "public"
|
||||
assert_includes schema_names, "test_schema"
|
||||
assert_includes schema_names, "test_schema2"
|
||||
assert_includes schema_names, "hint_plan" if @connection.supports_optimizer_hints?
|
||||
end
|
||||
|
||||
def test_create_schema
|
||||
|
Loading…
Reference in New Issue
Block a user