Project

General

Profile

Actions

Testing #3066

closed

xmera Omnia - Collection #3085: Maintain several plugins to be compatible

Plugin: Failing functional tests with RM 5.1.7

Added by liaham 20 days ago. Updated 19 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/16/2025
Due date:
03/16/2025
% Done:

100%

Estimated time:
Compatible Redmine Version:
5.1.z

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 #1

Updated by liaham 20 days ago

  • Due date set to 03/16/2025
  • Status changed from New to Closed
  • Start date set to 03/16/2025
  • % Done changed from 0 to 100
Actions #2

Updated by liaham 19 days ago

  • Parent task set to #3085
Actions

Also available in: Atom PDF