Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall committed Jun 11, 2024
1 parent f10d3bf commit a6c1765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sonarr/naming_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func TestUpdateNaming(t *testing.T) {
WithRequest: &sonarr.Naming{
ReplaceIllegalCharacters: true,
},
ExpectedRequest: `{"replaceIllegalCharacters":true}` + "\n",
ExpectedRequest: `{"replaceIllegalCharacters":true,"id":1}` + "\n",
ResponseBody: namingBody,
WithResponse: &sonarr.Naming{
ID: 1,
Expand All @@ -109,7 +109,7 @@ func TestUpdateNaming(t *testing.T) {
WithRequest: &sonarr.Naming{
ReplaceIllegalCharacters: true,
},
ExpectedRequest: `{"replaceIllegalCharacters":true}` + "\n",
ExpectedRequest: `{"replaceIllegalCharacters":true,"id":1}` + "\n",
ResponseStatus: 404,
ResponseBody: `{"message": "NotFound"}`,
WithError: &starr.ReqError{Code: http.StatusNotFound},
Expand Down

0 comments on commit a6c1765

Please sign in to comment.