Actions
Bug #337
closedSupport Redmine 4.2.1: Failing tests
Start date:
05/03/2021
Due date:
% Done:
100%
Estimated time:
Affected Version:
Compatible Redmine Version:
Pull Request Link:
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