Project

General

Profile

Actions

Bug #337

closed

Support Redmine 4.2.1: Failing tests

Added by liaham almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/03/2021
Due date:
% Done:

100%

Estimated time:
Affected Version:
Compatible Redmine Version:

Description

Some tests of Redmine Project Types are failing in Redmine 4.2.1:

ERROR ProjectTypeTest#test_should_nullify_projects_project_type_when_deleting_a_project_type (1.49s)
Minitest::UnexpectedError:         ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: spreadsheets.project_type_id: SELECT "spreadsheets".* FROM "spreadsheets" WHERE "spreadsheets"."project_type_id" = ?
            plugins/redmine_project_types/test/unit/project_type_test.rb:46:in `block in <class:ProjectTypeTest>'

 FAIL ProjectTypes::ProjectTypesControllerTest#test_should_delete_when_it_has_no_projects (2.37s)
        "ProjectType.masters.count" didn't change by -1.
        Expected: 0
          Actual: 1
        plugins/redmine_project_types/test/functional/project_types_controller_test.rb:58:in `block in <class:ProjectTypesControllerTest>'

 FAIL ProjectTypes::ProjectsControllerTest#test_should_create_project_with_project_type (2.72s)
        "Project.count" didn't change by 1.
        Expected: 8
          Actual: 7
        plugins/redmine_project_types/test/functional/projects_controller_test.rb:55:in `block in <class:ProjectsControllerTest>'

 FAIL ProjectTypes::ProjectsControllerTest#test_should_create_project_with_required_custom_field (2.89s)
        "Project.count" didn't change by 1.
        Expected: 7
          Actual: 6
        plugins/redmine_project_types/test/functional/projects_controller_test.rb:101:in `block in <class:ProjectsControllerTest>'
Actions #1

Updated by liaham almost 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #2

Updated by circle_admin almost 4 years ago

  • Target version changed from 4.1.0 to 4.0.4
Actions

Also available in: Atom PDF