fix(test): update test data for updated github.com/xanzy/go-gitlab

- Add fields in "ci get" test data
- Update labels field in mr, issuable, and issue list test data
- Remove query parameter from "mr rebase --skip-ci" mock path

Fixes #7504

Signed-off-by: Justen Stall <justenstall@gmail.com>
This commit is contained in:
Justen Stall 2024-04-04 15:46:50 -04:00
parent 6d181a1f0b
commit b465f00b7f
No known key found for this signature in database
4 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
"label_details": null,
"subscribed": false,
"closed_by": null,
"labels":"",
"labels":[],
"milestone": null,
"assignees":
[],

View File

@ -47,7 +47,7 @@
[],
"source_project_id": 29316529,
"target_project_id": 29316529,
"labels": "",
"labels": [],
"label_details": null,
"description": "Closes #1",
"draft": true,
@ -142,7 +142,7 @@
[],
"source_project_id": 29316529,
"target_project_id": 29316529,
"labels": "",
"labels": [],
"label_details": null,
"description": "",
"draft": false,

View File

@ -97,7 +97,7 @@ func TestMrRebase(t *testing.T) {
},
{
http.MethodPut,
"/api/v4/projects/OWNER/REPO/merge_requests/123/rebase?skip_ci=true",
"/api/v4/projects/OWNER/REPO/merge_requests/123/rebase",
http.StatusAccepted,
`{ "rebase_in_progress": true }`,
},