Skip to content

Commit

Permalink
use correct payload
Browse files Browse the repository at this point in the history
  • Loading branch information
Monirzadeh committed Sep 24, 2024
1 parent 4322edb commit d76009d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/routes/api/v1/bookmarks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func TestSync(t *testing.T) {
})

t.Run("retun deleted bookmark", func(t *testing.T) {
w := testutil.PerformRequest(g, "POST", "/sync", testutil.WithHeader(model.AuthorizationHeader, model.AuthorizationTokenType+" "+token), testutil.WithBody(string(payloadJSONValid)))
w := testutil.PerformRequest(g, "POST", "/sync", testutil.WithHeader(model.AuthorizationHeader, model.AuthorizationTokenType+" "+token), testutil.WithBody(string(payloadJSONValidWithIDs)))
require.Equal(t, http.StatusOK, w.Code)

// Check the response body
Expand Down

0 comments on commit d76009d

Please sign in to comment.