Grapify subscription API
All threads resolved!
All threads resolved!
What are the relevant issue numbers?
Related to #22928 (moved)
Merge request reports
Activity
Mentioned in issue #22928 (moved)
Reassigned to @razer6
Reassigned to @rymai
- Resolved by username-removed-2900
- Resolved by username-removed-2900
Thanks @razer6, I had a couple of questions!
Reassigned to @razer6
Thanks @razer6, there are two failing specs following the last change:
1) API::API POST /projects/:id/labels/:label_id/subscription when label_id is a label title subscribes to the label Failure/Error: expect(response).to have_http_status(201) expected the response to have status code 201 but it was 400 # ./spec/requests/api/labels_spec.rb:216:in `block (4 levels) in <top (required)>' 2) API::API DELETE /projects/:id/labels/:label_id/subscription when label_id is a label title unsubscribes from the label Failure/Error: expect(response).to have_http_status(200) expected the response to have status code 200 but it was 400 # ./spec/requests/api/labels_spec.rb:258:in `block (4 levels) in <top (required)>'
@rymai I updated the MR. The problem is that label IDs are strings, whereas other ids are integers.
Reassigned to @rymai
Mentioned in commit 763a89a3
mentioned in issue gitlab#6486
Please register or sign in to reply