diff --git a/group_boards_test.go b/group_boards_test.go index a6a9d9cd6..f3ff61571 100644 --- a/group_boards_test.go +++ b/group_boards_test.go @@ -204,7 +204,7 @@ func TestGroupIssueBoardsService_GetGroupIssueBoard(t *testing.T) { "id": 12, "title": "10.0" }, - "labels": [ + "labels": [ { "id":1749, "name":"my-scope1", diff --git a/project_variables_test.go b/project_variables_test.go index 504ef0c2b..7f2cd8e50 100644 --- a/project_variables_test.go +++ b/project_variables_test.go @@ -160,7 +160,7 @@ func TestProjectVariablesService_UpdateVariable(t *testing.T) { mux.HandleFunc("/api/v4/projects/1/variables/NEW_VARIABLE", func(w http.ResponseWriter, r *http.Request) { testMethod(t, r, http.MethodPut) - testBody(t, r, `{"filter":{"environment_scope":"prod"},"description":"updated description"}`) + testBody(t, r, `{"description":"updated description","filter":{"environment_scope":"prod"}}`) fmt.Fprintf(w, ` { "key": "NEW_VARIABLE",