diff --git a/init.rb b/init.rb index 83ac1008a..36998a2ef 100644 --- a/init.rb +++ b/init.rb @@ -1,5 +1,5 @@ # Redmine plugin for Plugin Testsuites -# Copyright (C) 2018-2023 Massimo Rossello +# Copyright (C) 2018- Massimo Rossello # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -45,7 +45,7 @@ redmine_translation_terms: { tilde_greater_than: '5.0.6' }, redmine_base_deface: { version_or_higher: '5.0.6' }, redmine_better_overview: { tilde_greater_than: '5.0.2' }, - redmine_extended_watchers: { tilde_greater_than: '5.0.2' }, + redmine_extended_watchers: { tilde_greater_than: '5.0.10' }, redmine_pluggable_themes: { tilde_greater_than: '5.0.2' }, redwine: { version: '5.0.10' }, sidebar_hide: { version_or_higher: '5.0.2' } diff --git a/test/functional/watchers_controller_test.rb b/test/functional/watchers_controller_test.rb index 14998bdf5..56b67335b 100644 --- a/test/functional/watchers_controller_test.rb +++ b/test/functional/watchers_controller_test.rb @@ -498,11 +498,8 @@ def test_autocomplete_with_multiple_objects_from_different_projects # All users from two projects eCookbook (7) and Private child of eCookbook # (9) who can see both issues if Redmine::Plugin.installed? :redmine_extended_watchers - assert_select 'input', :count => 8 - assert_select 'input[name=?][value="4"]', 'watcher[user_ids][]' - assert_select 'input[name=?][value="7"]', 'watcher[user_ids][]' - assert_select 'input[name=?][value="9"]', 'watcher[user_ids][]' - assert_select 'input[name=?][value="11"]', 'watcher[user_ids][]' + assert_select 'input', :count => 5 + assert_select 'input[name=?][value="3"]', 'watcher[user_ids][]' else assert_select 'input', :count => 4 end