Fixes #37772 - Add controller guardrails for multi-CV params on hosts and activation keys #1271
Annotations
7 errors
katello/test/controllers/api/v2/hosts_controller_test.rb#L181
Failure: test_set_content_view_environments_with_invalid_ids_param
Expected response to be a <422: Unprocessable Entity>, but was a <500: Internal Server Error>
Response body: {
"error": {"message":"Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs."}
}
.
Expected: 422
Actual: 500
|
katello/test/controllers/api/v2/hosts_controller_test.rb#L133
Failure: test_host_update_with_env_only
Expected response to be a <422: Unprocessable Entity>, but was a <500: Internal Server Error>
Response body: {
"error": {"message":"Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs."}
}
.
Expected: 422
Actual: 500
|
katello/test/controllers/api/v2/hosts_controller_test.rb#L166
Failure: test_set_content_view_environments_with_valid_ids_param
NoMethodError: undefined method `id' for nil:NilClass
katello/test/controllers/api/v2/hosts_controller_test.rb:166:in `test_set_content_view_environments_with_valid_ids_param'
|
katello/test/controllers/api/v2/hosts_controller_test.rb#L145
Failure: test_host_update_with_cv_only
Expected response to be a <422: Unprocessable Entity>, but was a <500: Internal Server Error>
Response body: {
"error": {"message":"Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs."}
}
.
Expected: 422
Actual: 500
|
katello/test/controllers/api/v2/hosts_controller_test.rb#L157
Failure: test_set_content_view_environments_with_valid_content_view_environs_param
Expected {"message"=>"Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs."} to be nil.
|
katello/test/controllers/api/v2/hosts_controller_test.rb#L193
Failure: test_set_content_view_environments_with_invalid_content_view_environs_param
Expected response to be a <422: Unprocessable Entity>, but was a <500: Internal Server Error>
Response body: {
"error": {"message":"Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs."}
}
.
Expected: 422
Actual: 500
|
|
The logs for this run have expired and are no longer available.
Loading