Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 9, 2024
1 parent 9605653 commit d1afb9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def self.env
}
if $adapter == "mysql2"
connection_options[:encoding] = "utf8mb4"
if ActiveRecord::VERSION::STRING.to_f >= 7.1
if ActiveRecord::VERSION::STRING.to_f >= 7.1 && ActiveRecord::VERSION::MAJOR < 8
connection_options[:prepared_statements] = true
end
elsif $adapter == "trilogy"
Expand Down

0 comments on commit d1afb9b

Please sign in to comment.