summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-08-20 05:54:30 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-08-20 05:54:30 +0000
commitfb37d2e4fab887d0abed786541d09eaec0838317 (patch)
tree54955154818e214ff006e56c2762dae30fcfac24 /test
parent578360fdabcccea3510b6aadb6ed3a0a87d4e2d0 (diff)
downloadredmine-fb37d2e4fab887d0abed786541d09eaec0838317.tar.gz
redmine-fb37d2e4fab887d0abed786541d09eaec0838317.zip
Upgrade to Rails 7.2.0 (#36320).
Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22960 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/plugin_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/plugin_test.rb b/test/unit/lib/redmine/plugin_test.rb
index 66d2fb830..e6945c4d8 100644
--- a/test/unit/lib/redmine/plugin_test.rb
+++ b/test/unit/lib/redmine/plugin_test.rb
@@ -234,7 +234,7 @@ class Redmine::PluginTest < ActiveSupport::TestCase
migration_dir = File.join(@klass.directory, 'db', 'migrate')
Redmine::Plugin::Migrator.current_plugin = plugin
- context = Redmine::Plugin::MigrationContext.new(migration_dir, ::ActiveRecord::Base.connection.schema_migration)
+ context = Redmine::Plugin::MigrationContext.new(migration_dir, ::ActiveRecord::Base.connection.pool.schema_migration)
# current_version should be zero because Foo plugin has no migration
assert_equal 0, context.current_version
end