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
Actions