summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2023-12-22 02:33:15 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2023-12-22 02:33:15 +0000
commita3a29caa633efa8cc7914d276312cb384ce0ef97 (patch)
treeefc2049818f40bc9fb6baa122ae96a8d8f408414 /test
parent73ffd58bfaf9bfb0a8dab3693336f9b349acab85 (diff)
downloadredmine-a3a29caa633efa8cc7914d276312cb384ce0ef97.tar.gz
redmine-a3a29caa633efa8cc7914d276312cb384ce0ef97.zip
Add missing change for #39862 to 5.1-stable.
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22554 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/integration/routing/plugins_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/routing/plugins_test.rb b/test/integration/routing/plugins_test.rb
index cc96b7fe4..143b7f031 100644
--- a/test/integration/routing/plugins_test.rb
+++ b/test/integration/routing/plugins_test.rb
@@ -94,6 +94,8 @@ class RoutingPluginsTest < Redmine::RoutingTest
version '0.0.1'
end
+ Redmine::Acts::Attachable::ObjectTypeConstraint.register_object_type('plugin_articles')
+
Pathname(__dir__).glob("app/**/*.rb").sort.each do |path|
require path
end