Actions
Bug #23954
closedTests stub controller to return Foreman::Task instead of a Dynlfow task, causing error
Description
With yesterday's release of foreman-tasks, tests are now erroring:
Failure: Katello::Api::V2::RepositoriesControllerTest#test_remove_content [/var/lib/workspace/workspace/katello-pr-test/test/controllers/api/v2/repositories_controller_test.rb:701]: Expected response to be a <2XX: success>, but was a <500: Internal Server Error> Response body: {"displayMessage":"undefined method `get_humanized' for #\u003cForemanTasks::Task:0x0000000077384470\u003e\nDid you mean? humanized","errors":["undefined method `get_humanized' for #\u003cForemanTasks::Task:0x0000000077384470\u003e\nDid you mean? humanized"]} bin/rails test /var/lib/workspace/workspace/katello-pr-test/test/controllers/api/v2/repositories_controller_test.rb:694
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Stephen Benjamin
- Pull request https://github.com/Katello/katello/pull/7458 added
Updated by Stephen Benjamin over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|a333a27316e147abff56e22cc9eaf3718ebb684c.
Updated by Jonathon Turel over 6 years ago
- Translation missing: en.field_release set to 338
Actions