From a3a29caa633efa8cc7914d276312cb384ce0ef97 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Fri, 22 Dec 2023 02:33:15 +0000 Subject: [PATCH] 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 --- test/integration/routing/plugins_test.rb | 2 ++ 1 file changed, 2 insertions(+) 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