Skip to content

Commit

Permalink
Fix test after reodering
Browse files Browse the repository at this point in the history
  • Loading branch information
svanharmelen committed Jan 16, 2024
1 parent c3f82c2 commit 28f5cd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion group_boards_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func TestGroupIssueBoardsService_GetGroupIssueBoard(t *testing.T) {
"id": 12,
"title": "10.0"
},
"labels": [
"labels": [
{
"id":1749,
"name":"my-scope1",
Expand Down
2 changes: 1 addition & 1 deletion project_variables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 28f5cd4

Please sign in to comment.