Skip to content

Commit

Permalink
Fixed test file
Browse files Browse the repository at this point in the history
  • Loading branch information
Xemdo committed Jan 17, 2023
1 parent fd16e4c commit 83448d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/mock_api/endpoints/channels/channels_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ func TestVIPs(t *testing.T) {
// post
req, _ = http.NewRequest(http.MethodPost, ts.URL+Vips{}.Path(), nil)
q.Set("broadcaster_id", "1")
q.Set("user_id", "2")
q.Set("user_id", "99")
req.URL.RawQuery = q.Encode()
resp, err = http.DefaultClient.Do(req)
a.Nil(err)
a.Equal(422, resp.StatusCode)
a.Equal(204, resp.StatusCode)

req, _ = http.NewRequest(http.MethodPost, ts.URL+Vips{}.Path(), nil)
q.Set("user_id", "-1")
Expand Down

0 comments on commit 83448d6

Please sign in to comment.