Project

General

Profile

Actions

Defect #32935

closed

Rails 6: fix set role_ids

Added by Pavel Rosický almost 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

fixes two failures

Failure:
Redmine::ApiTest::MembershipsTest#test_PUT_/memberships/:id.xml_with_invalid_parameters_should_return_errors [/redmine/test/integration/api_test/memberships_test.rb:152]:
Expected response to be a <422: unprocessable_entity>, but was a <204: No Content>
Response body: .
Expected: 422
  Actual: 204

Failure:
GroupTest#test_user_roles_should_updated_when_updating_group_roles [/redmine/test/unit/group_test.rb:113]:
Expected: [2]
  Actual: [4]
rails test test/unit/group_test.rb:101

Files

member.rb.patch (824 Bytes) member.rb.patch Pavel Rosický, 2020-02-03 00:42

Related issues

Related to Redmine - Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloadingClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF