Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Mar 11, 2024
1 parent b554bdd commit 9abcceb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/multiple_databases_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

class MultipleDatabasesTest < Minitest::Test
def test_target_version
skip unless multiple_dbs?
skip unless multiple_dbs? && postgresql?

safe_version = postgresql? ? 11 : (mysql? ? "8.0.12" : "10.3.2")
unsafe_version = postgresql? ? 10 : (mysql? ? "8.0.11" : "10.3.1")
with_target_version({primary: unsafe_version, animals: safe_version}) do
with_target_version({primary: 11, animals: 10}) do
with_database(:primary) do
assert_unsafe AddColumnDefault
end
Expand Down

0 comments on commit 9abcceb

Please sign in to comment.