Actions
Testing #3066
closedxmera Omnia - Collection #3085: Maintain several plugins to be compatible
Plugin: Failing functional tests with RM 5.1.7
Start date:
03/16/2025
Due date:
03/16/2025
% Done:
100%
Estimated time:
Compatible Redmine Version:
5.1.z
Pull Request Link:
Description
FAIL ProjectTypes::QueriesControllerTest#test_should_highlight_project_type_menu_item_with_new_query (17.54s)
Expected at least 1 element matching ".project-types.selected", found 0.
Expected 0 to be >= 1.
plugins/redmine_project_types/test/functional/queries_controller_test.rb:37:in `block in <class:QueriesControllerTest>'
FAIL ProjectTypes::QueriesControllerTest#test_create_admin_project_type_query_should_redirect_to_admin_project_types (17.61s)
Expected response to be a redirect to <http://www.example.com/admin/project_types?admin_projects=1&query_id=13> but was a redirect to <http://www.example.com/admin/project_types?query_id=13>.
Expected "http://www.example.com/admin/project_types?admin_projects=1&query_id=13" to be === "http://www.example.com/admin/project_types?query_id=13".
plugins/redmine_project_types/test/functional/queries_controller_test.rb:67:in `block in <class:QueriesControllerTest>'
ERROR ProjectTypes::QueriesControllerTest#test_should_not_show_project_type_queries_for_non_admin_users (17.61s)
Minitest::UnexpectedError: ActiveModel::UnknownAttributeError: unknown attribute 'admin_projects' for ProjectTypeQuery.
app/models/project_query.rb:60:in `initialize'
plugins/redmine_project_types/test/functional/queries_controller_test.rb:71:in `block in <class:QueriesControllerTest>'
FAIL ProjectTypes::ProjectTypesControllerTest#test_should_get_index (19.33s)
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
plugins/redmine_project_types/test/functional/project_types_controller_test.rb:52:in `block in <class:ProjectTypesControllerTest>'
Actions